Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Testing in Visual Studio

Posted on 2009-07-06
3
Medium Priority
?
298 Views
Last Modified: 2013-11-26
Has anyone had any success with the automatic testing features of Visual Studio?
0
Comment
Question by:NigelRocks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

636 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