NUnit warning messages and assertions are ignored and no output is displayed
Answered
Whenever I use a Warn or Assert.Warn with NUnit no output is displayed in these test cases, they only show up as ignored (no expected vs actual results and no warning messages), giving no information at all. What it does show up are two warnings of the test runner, saying that the element was left running after its run completion, I don't know why...
However, with the default test runner in VS, proper output is displayed.
Using:
-
Visual Studio Community 2017 15.5.6
-
ReSharper Ultimate 2017.3.1 with dotCover 2017.3.1
-
NUnit 3.9.0 and NUnit3TestAdapter 3.9.0
Please sign in to leave a comment.
Hello, Jon,
Could you please try the recently released Resharper 2018.1, the problem should be fixed in it: https://www.jetbrains.com/resharper/download/
Hi Fedor, I just tried with Resharper 2018.1 and VS 2017 15.7.2 but the result is the same.
Was this ever fixed? I'm seeing the same behavior with VS 2017 and ReSharper 2019.1.