When I select an NUnit test in the Unit Test Sessions window and click debug, the window disappears. My breakpoints are hit, but if I hit F5, the Unit Test Sessions window does not return until the test returns a result or I stop the debugging session. This is preventing me from viewing any console output during tests. Any ideas?
Debug and analyze unit tests with Test ExplorerYou can use Test Explorer to start a debugging session for your tests. Stepping through your code with the Visual Studio debugger seamlessly takes you back and forth between the unit tests and the project under test.
If chrome://inspect is not up, start chrome://inspect in a new tab/window. If chrome://inspect is up without the debugger window, click one of the two links to inspect. There might be leftover debugger windows.
Access unit test sessions Unit test sessions management is done in the Unit Test Sessions window. To open this window, press Ctrl+Alt+T or choose ReSharper | Windows | Unit Test Sessions from the main menu.
It turned out to be the Resharper Test Runner that was mis-behaving. The answer was to reopen the window using ReSharper -> Windows -> Unit Test Sessions or Ctrl + Alt + R if using the IntelliJ shortcuts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With