[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Unit testing with visual studio

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
KaranGupta
Asked:
KaranGupta
4 Solutions
 
NavneetCommented:
0
Industry Leaders: 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!

 
oxyooCommented:
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
 
oxyooCommented:
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
 
KaranGuptaAuthor Commented:
Hi

I am looking for the article for Visual studio 2008
0
 
jagrut_patelCommented:
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now