473,507 Members | 4,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unit Testing with Visual Studio Team System?

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
4 1497
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1141
by: TestDriven.NET | last post by:
TestDriven.NET, the FREE one-click unit testing add-in for Visual Studio .NET is now available: http://www.testdriven.net/news.htm TestDriven.NET makes it easy to run unit tests with a single...
15
6899
by: Enrique | last post by:
Question I am posting this question again (3rd time) because some issues with my no spam alias. Here it is the question: I have not been able to run unit tests for a VSTO (2005) project. I...
4
2141
by: Peter Rilling | last post by:
Does VS.NET 2005 Professional support integrated unit testing, or is that only with the team system?
2
5769
by: jd1978 | last post by:
I don't have Team System, but I'd like to be able to unit test the code in my app_code directory using nunit, or something else. Is there any way to do this? I can't add a reference from another...
0
1476
by: porko | last post by:
Does anyone know if there is some way to specify a RELATIVE path to an .MDF file for testing with the Team Unit Testing stuff in Visual Studio 2005? The whole point of including a database with a...
1
1618
by: Viviana Vc | last post by:
Hi all, I have "Visual Studio Team Suite" subscription and now I started to play with Visual Studio 2005 for creating Test Projects. The thing I am interested in is the "unit test". I tried...
10
4503
by: Sean Chambers | last post by:
Hello, I am attempting to utilize the MVP pattern in a new app I am building. I am using TDD, along with mock views attached to the View interface to attempt to unit test the UI. The problem I...
1
19808
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies...
2
1841
by: mo.sparrow | last post by:
Typemock Isolator – A powerful mocking framework for .NET unit testing and Test Driven Development (in Visual Studio). http://www.typemock.com/learn_about_typemock_isolator.html NUnit - A...
0
7220
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7479
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.