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
At least the exception within the test discovery shows up. And not silently not run the test without any reason. Also excepting to show a skip reason in the test runner.
Actual behavior
Test withing Visual Studio 2019 16.2 .
In the sample repository are 6 Unit Test, 2 of are not run without any hint because of an exception within the test discovery on one test.
The text was updated successfully, but these errors were encountered:
In microsoft/vstest#2123 is mentioned that the test adapter seems to capture the exception during discovery, because of that the Test2 and Test3 are not run and lost.
Visual Studio Test Runner does not run all xUnit Tests when the test discovery throws an exception. I filed this also under: microsoft/vstest#2122
Steps to reproduce
Checkout the repository https://github.com/DerAlbertCom/MisbehavingUnittestRunners it in Visual Studio. More details why the problem occurs is also there.
Expected behavior
At least the exception within the test discovery shows up. And not silently not run the test without any reason. Also excepting to show a skip reason in the test runner.
Actual behavior
Test withing Visual Studio 2019 16.2
.
In the sample repository are 6 Unit Test, 2 of are not run without any hint because of an exception within the test discovery on one test.
The text was updated successfully, but these errors were encountered: