Solved

Unit testing with visual studio

Posted on 2011-09-29
7
302 Views
Last Modified: 2012-05-12
Hi

I am looking for the tutorials in which there is a stpe by step description of how to execute unit tests in visual studio

Regards
Karan Gupta
0
Comment
Question by:KaranGupta
7 Comments
 
LVL 8

Expert Comment

by:jagrut_patel
ID: 36890020
0
 
LVL 3

Accepted Solution

by:
chandrasekar1 earned 125 total points
ID: 36890025
0
 
LVL 15

Assisted Solution

by:navneethegde
navneethegde earned 125 total points
ID: 36890029
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 10

Assisted Solution

by:oxyoo
oxyoo earned 125 total points
ID: 36890035
There are plenty of options to choose from. Besides Microsoft's MSText (as linked to above by @jagrut_patel) you can choose ReSharper [1] which I use heavily and am very satisfied with. It can easily run NUnit tests amongst other. Do note that ReSharper does more than just add a unit test runner to Visual Studio. There is also TestDriven.Net [2] that support NUnit, MbUnit, MSTest and others, Both of these allows you to run tests from within Visual Studio.

There is also NUnit's [3] own test runner, but it can not run within Visual Studio instead it is a separate application.

So you have a lot to choose from :)
HTH

 [1]: http://www.jetbrains.com/resharper/
 [2]: http://testdriven.net/
 [3]: http://www.nunit.org/

0
 
LVL 10

Expert Comment

by:oxyoo
ID: 36890045
I would also highly recommend that you read Roy Osherove's book "The Art Of Unit Testing" [1] with examples in .NET. Highly recommended.

 [1]: http://artofunittesting.com/
0
 

Author Comment

by:KaranGupta
ID: 36901478
Hi

I am looking for the article for Visual studio 2008
0
 
LVL 8

Assisted Solution

by:jagrut_patel
jagrut_patel earned 125 total points
ID: 36901518
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

825 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