You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NUnit Framework uses C#11 while the engine and console use C# 7. That's too great a difference and is confusing for developers. Ideally we would also use C#11.
The first step in this change will be to determine whether to make this change in one jump or in stages. If possible, I'd like to upgrade the language version alone, without making immediate use of the new features in existing code. We will also need coding standards to indicate whether certain features are used in production code.
Given the above, it's likely that multiple PRs will be needed for this issue.
The text was updated successfully, but these errors were encountered:
@manfred-brands Yes, I was meaning the coding guidelines to be for the nunit-console repository. Of course, if anyone is going to work in both repos, it will be better if the language level is the same.
I know that changing the level isn't supposed to change the code that's generated, but I'm a cantankerous old TDD guy so I'll run the tests first. I do think the existing test set is large enough that it will probably catch anything bad. I probably won't actually do multiple PRs for that part alone, although I might be more incremental locally just to see what happens.
I agree about the importance of nullability. I know it wasn't quick to implement in the framework and I suspect that will also be true of the engine. In both cases, we often used null values to mean something, which is not considered good form these days, but then NUnit is pretty old. Full implementation might change some APIs, which means V4, of course.
NUnit Framework uses C#11 while the engine and console use C# 7. That's too great a difference and is confusing for developers. Ideally we would also use C#11.
The first step in this change will be to determine whether to make this change in one jump or in stages. If possible, I'd like to upgrade the language version alone, without making immediate use of the new features in existing code. We will also need coding standards to indicate whether certain features are used in production code.
Given the above, it's likely that multiple PRs will be needed for this issue.
The text was updated successfully, but these errors were encountered: