Unit Testing with Visual Studio Team System?

C

cmay

I have been looking on and off for the past 6 months or so for some
kind of guidance for creating asp.net unit tests with Visual Studio
Team System, but I have yet to find anything significant.

Does anyone know of any books/articles that address this?

Right now I created a very basic page and created unit tests for it
only to find that my webcontrols are not initialized when running the
unit tests. So either I am doing something wrong in not getting the
controls to initialize, or I am missing the boat in terms of what
these tests should do.

Eitherway, every source of information on this topic is either very
old, not about the team system version of creating unit tests, or not
about asp.net tests.

Can anyone point me in the right direction?
 
B

bruce barker

asp.net does not have a great answer for this. you need to run the page
cycle on your control in the unit test.

most of the work in this area is in the nunit arena, but they seem to be
working on the complete page.


-- bruce (sqlwork.com)
 
C

cmay

Has microsoft abandoned VSTS ASP.NET Unit Tests?

This product has been out forever and there is virtually no
documentation on the subject.

Frustrating.
 
J

Juan T. Llibre

Hi, cmay.

Please post your questions about Visual Studio Documentation
in the "Developer Documentation and Help System" forum :

http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=66&SiteID=1

The forum's mission is to "Ask questions or post comments
about Visual Studio and .NET Framework documentation".

Also, I did a Google search for : "Visual Studio Team System" unit test
....and it returned some informative links, including whole chapters of books :

http://www.google.com/search?hl=en&q="Visual+Studio+Team+System"+unit+test&btnG=Google+Search




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
C

cmay

Juan,

I'll try posting in that newsgroup and see if I get anywhere.

The problem is not with finding info about unit testing in VSTS, it is
the "ASP.NET Unit Tests" that seems to have no info availble.

For example, if you look at the google search you posted, none of the
top 10 (I looked at all 10) have any info about asp.net unit tests.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top