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?
14
votes
What is activating your unit tests? What calls them?
– Nick DeVore
It happens on Right Click -> Run Unit Tests in Solution Explorer as well as when I click the green debug button in the Unit Test Sessions window.
– Daniel Dyson
Which unit test runner are you using?
– Grzenio
Is the console window open during execution? Are you writing data out to the console? If not, it won't show up. Do you mean the watch window so you can see the values in your variables?
– Nick DeVore
You can have different windows open for "Write" mode versus "Debug" mode. Perhaps the console window is truly hidden for debug mode and it simply means you need to show it?
– Nick DeVore