Solved

Unit testing with visual studio

Posted on 2011-09-29
7
305 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
[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
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 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