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
Tests not executed if Console.WriteLine() is used #774
Comments
Thanks for reporting! I would assume this will also fail in 3.17, and is related to the console outputting introduced there. |
I just faced the same problem, good to hear you are aware of this. |
Until fixed, the workaround is to set the ConsoleOut property in the runsettings to 0. |
Looks like there was never a 3.18 release. Is that still planned? |
It is still planned, but the way forward is the 4.0.0. We expect 4.0.0 to not support legacy csproj with old package.configs, and it will not have a vsix either. 3.18 will try to cover as much as it can of the 4.0.0 features, but will still support the old legacy and will have a vsix. The release will follow the 4.0.0 release though. |
@MisinformedDNA Just to clarify the current state. 3.18 will not be released, 3.17 will be the latest in the 3.X series. The 4.X series do support legacy csproj with old packages.config, and will continue to do so as long as we are able to maintain it. The 4.X series will not have any VSIX. |
If the code path executed during a test contains a
Console.WriteLine()
without text content, the test will not execute. The following error is reported in the test output:Here is code that reproduces this problem:
NUnit3TestAdapter 4.0.0-alpha.1
NUnit 3.12.0
Visual Studio Professional 2019 - 16.6.2
.Net Framework 4.8
This worked in NUnit3TestAdapter 3.15.1.
The text was updated successfully, but these errors were encountered: