[Web Tests] Debugging Web Tests

Did you know that you can debug web tests you created with Visual Studio 2005 Team System?

Instructions:

  1. Place breakpoints in your ASP.NET code you want to test.
  2. Run ASP.NET website (with debug enabled and debugger attached).
  3. Run Web Tests (right-click the test project in Solution Explorer: Debug ยป Create new instance, if it’s in the same solution file).

Screenshot:

  Screenshot: A Web Test during a Debug session
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.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>