Solved

Testing in Visual Studio

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Closing all open child forms. 4 38
Adding queries and macros to many Microsoft Access Databases. 7 74
C# application error "Parameter Is Not Valid". 3 79
SQL Exceptions 3 38
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now