Debugging Tests

If anyone has been having difficulty with the 'Debug Tests' functionality, there's a much more stable version up with build 92.  Go to the 'Tools' menu and 'Debug Tests'.  This will start a new test process with the debugger attached.  You can then set breakpoints, run tests and even compile new tests (which feels strange with the debugger still attached).  You won't be able to compile if the process has stopped on a breakpoint (the files will be locked).  It's not quite Edit & Continue, but if feels pretty close.  Let me know if you have any problems.

I can't get over how effective Ad Hoc tests have turned out to be.  Being able to jump into any method is such a boon (even if you're not unit testing).  Never again will I create a console application do a quick experiment.  Now I just write a method and jump in there!  Give it a try - I promise you won't be disappointed... ;)

No Comments