Solved

Testing in Visual Studio

Posted on 2009-07-06
3
292 Views
Last Modified: 2013-11-26
Has anyone had any success with the automatic testing features of Visual Studio?
0
Comment
Question by:NigelRocks
  • 2
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24788108
Which testing features are you referring to?  Are you talking about Visual Studio .NET Team Suite testing in 2005/2008?
0
 
LVL 1

Author Comment

by:NigelRocks
ID: 24788283
I think so.  I've just been told that there are unit and integrated testing capabilities in Visual Studio 2008.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 24788807
Yes, there is testing in Visual Studio 2008, including the Professional editions.  

1) You need to create a Test Project (i.e. Visual C# | Test or Visual Basic.NET | Test).

2) You can add different types of tests (Ordered, Unit, Manual).

3) When adding a unit test, you can use a wizard, or create the test manually.

4) If you use the unit test wizard, then you will need to select a class that you would like to test, and unit tests will automatically be created for typical testing scenarios.

Walk-through:

Unit Testing with Visual Studio 2008
http://www.geekzone.co.nz/vs2008/4819
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question