-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console output is unclear about which console build is running #1467
Comments
@CharliePoole , is it even possible to install a different nunit console runner other than the standard ( .net framework) one? Because when I get my nunit console from nuget, I can only get one version-- the .net framework version. |
@WindingWinter Well it depends on which package you install. NUnit.ConsoleRunner is what I'm referring to as the "standard" runner, NUnit.ConsoleRunner.NetCore is the netcore runner. |
@WindingWinter Just looking back at this exchange and wanting to clear up a point. You may already know this, but for the benefit of anyone who doesn't, here goes... The "standard" runner, which runs under .NET Framework, is still able to run tests under .NET Core using agents. In version 3.18.1, it comes with agents for .NET Framework 4.6.2, .NET Core 3.1, .NET 6.0, .NET 7.0 and .NET 8.0. If you use all defaults on the command-line, the runner selects the best agent for each test assembly. OTOH the .NET Core runner runs one assembly at a time, in process, under .NET 6.0 or under a higher-level framework if you have set up your config to do that. |
This issue has been resolved in version 3.18.2 The release is available on: |
We have three different builds of the console runner, all producing the executable
nunit3-console.exe
:Often, users don't actually remember which console they installed, resulting in a lot of confusion both for them and for the team when bugs are reported. For example, if the user says they are using .NET 6.0, that may mean they are using either the standard runner with a .NET6.0 agent or the .NET 6.0 runner or even the .NET 8.0 runner!
Ideally, we should not have three different programs with the same name. However, changing the executable name is a breaking change and will need to be postponed until the 4.0 release.
To mitigate the problem, the initial header in the console output should clearly state which of the three is being run. We might even consider a one-line notice like "Bugs should be reported against XXX."
It might also be useful to have a page somewhere, which describes the limitations of the .NET Core builds.
The text was updated successfully, but these errors were encountered: