[Web Tests] Debugging Web Tests
Did you know that you can debug web tests you created with Visual Studio 2005 Team System?
- Place breakpoints in your ASP.NET code you want to test.
- Run ASP.NET website (with debug enabled and debugger attached).
- Run Web Tests (right-click the test project in Solution Explorer: Debug » Create new instance, if it's in the same solution file).
Screenshot: A Web Test during a Debug session
For more detailed information over the debugging of Web Tests take a look at this excellent post by Sean Lumley.