Jeff and .NET

The .NET musings of Jeff Putz

Sponsors

News

My Sites

Archives

VSTS Testing for ASP.NET still isn't where it should be

After my last post on the subject, I'm sorry to say that I'm no better off than I was before. Unfortunately, debugging tests in ASP.NET simply doesn't work, and there's no good excuse for it.

Now I ask you, how is it that the team developing the testing framework for VS was allowed to ship the tool without it doing what it's supposed to do? These kinds of head scratchers drive me crazy in the face of what I'd consider brilliance otherwise. I just don't get it.

To recap, as indicated in this useless article, you can't debug because VS isn't smart enough to attach itself to the process it's creating to run the tests.

EDIT:

Trying harder to attach to the dev server process, I discovered that it creates a new instance when you run the tests, which is not what is described in the above linked article. My test attributes look like this:

[TestMethod]
[HostType("ASP.NET")]
[AspNetDevelopmentServerHost("%PathToWebRoot%\\PopForums.Test.Web", "/PopForums.Test.Web")]
[UrlToTest("http://localhost:2466/PopForums.Test.Web/default.aspx")]

Posted: Mar 14 2006, 03:07 PM by Jeff | with 1 comment(s)
Filed under:

Comments

Jeff said:

I'm really not that interested in better documentation, I'm more interested in working product.
# March 14, 2006 10:45 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)