Solved

Unit testing with visual studio

Posted on 2011-09-29
7
304 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
Technology Partners: 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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio npm 1 29
Query in AngularJS 8 46
Aspx calendar pop up control 3 28
How to fix 'event logs could not be searched' error asp.net? 3 15
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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