?
Solved

Testing in Visual Studio

Posted on 2009-07-06
3
Medium Priority
?
297 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

752 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