views:

94

answers:

4

Hallo all,

My director told me that there is a Unit Test framework for Visual Studio from Microsoft, but didn't know what is the name of this tool. Could anyone of you give a hint on it?

Thanks in advance,

John

+7  A: 

MS Test - it's in the Professional version these days.

From what I remember, in 2005 it was only in the Team System editions (test and developer); as of 2008 it's in Professional.

Of course there are plenty of other unit test frameworks for .NET, such as NUnit, MbUnit and xUnit.

Jon Skeet
In 2010 it's in Professional (there is no Standard edition).Also don't forget xUnit as an alternate framework.
Scott
Thanks for your answert. From wikipedia, I come across Visual Studio Unit Testing Framework. User can simply utilize it by inserting Attributes [TestClass()] [TestMethod()]. I'm looking for some concrete examples.
John
The link Colin posted (http://msdn.microsoft.com/en-us/library/ms379625.aspx) gives a walk-through.
Jon Skeet
+2  A: 

It's called MSTest. It's built into the Team Edition for Testers edition (and the higher level SKUs) of VS 2008.

In VS 2010, it's included in Visual Studio Professional.

Dave Markle
A: 

See this.

danish
+1  A: 

This link will tell you the basics (wikipeida) or this MS link

Colin Desmond