-
Notifications
You must be signed in to change notification settings - Fork 43
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
Show exception details and stacktrace if TestFixtureSetUp blows up #99
Comments
The NUnit VS Adapter is... well, an adapter! It can only adapt NUnit to the interfaces and displays provided by the Visual Studio Test Window. That window is exclusively devoted to listing individual test cases, so it's difficult to report any other kind of error. If you run tests under the NUnit Console runner, TestFixtureSetUp failures are listed individually. Similarly, if you use the Gui, the properties of the node representing the fixture will show the exact result and the Errors and Failures tab will also list it. There are two ways I can imagine handling this request...
|
No comments for eight months!!! I'll give it another month before closing. How do folks think this situation should be handled? |
I've been looking at doing it as your option 1 above in the NUnIt3 adapter and the same can be done here. |
I think it might help - to store TestFixtureSetUp/TestFixtureTearDown exceptions/statuses somewhere |
Reproduced from https://stackoverflow.com/questions/1411676/how-to-diagnose-testfixturesetup-failed
NUnit should show exception details and stacktrace if TestFixtureSetUp blows up, as it does when a test fails.
The text was updated successfully, but these errors were encountered: