Solved

Testing in Visual Studio

Posted on 2009-07-06
3
294 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 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio npm 1 39
Make borderless form movable by user 2 25
Difference between Highcharts and Mapbox 10 44
VB .net 2010 Byte array 2 19
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.   …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

737 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