By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,714 Members | 1,345 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,714 IT Pros & Developers. It's quick & easy.

Unit Testing with Visual Studio Team System?

P: n/a
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?

May 21 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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)
cmay wrote:
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?
May 21 '07 #2

P: n/a
Has microsoft abandoned VSTS ASP.NET Unit Tests?

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

Frustrating.

May 22 '07 #3

P: n/a
Hi, cmay.

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

http://forums.microsoft.com/MSDN/Sho...ID=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...=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/
======================================
"cmay" <cm**@walshgroup.comwrote in message
news:11*********************@p47g2000hsd.googlegro ups.com...
Has microsoft abandoned VSTS ASP.NET Unit Tests?

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

Frustrating.

May 22 '07 #4

P: n/a
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
On May 22, 5:26 am, "Juan T. Llibre" <nomailrepl...@nowhere.com>
wrote:
Hi,cmay.

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

http://forums.microsoft.com/MSDN/Sho...ID=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...eam+System%22+....

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/
======================================"cmay" <c...@walshgroup.comwrote in message

news:11*********************@p47g2000hsd.googlegro ups.com...
Has microsoft abandoned VSTS ASP.NET Unit Tests?
This product has been out forever and there is virtually no
documentation on the subject.
Frustrating.- Hide quoted text -

- Show quoted text -

Jun 1 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.