Your SlideShare is downloading. ×
0
25 April, 2008<br />NUnitvsMSTest<br />by Mel Gerats<br />
Nunit vs MSTest<br />The showdown<br />25 April, 2008<br />2<br />NUnit vs MSTest, by Mel Gerats<br />
Attributes<br />Nunit<br />[Category(&quot;name&quot;)]<br />[ExpectedException(&quot;myException&quot;)]<br />[Ignore(&qu...
Asserts<br />Nunit<br />Assert.AreEqual<br />Assert.AreNotEqual<br />Assert.AreNotSame<br />Assert.AreSame<br />Assert.Con...
Features<br />NUnit<br />Independent test runner<br />Integration with 3rd party tools<br />Fast<br />Open source, lots of...
Features…<br />NUnit<br />Build server integration with some work<br />Built-in mocking, addin framework<br />Runs MS Test...
Resources<br />Attributescomparison<br />25 April, 2008<br />7<br />NUnit vs MSTest, by Mel Gerats<br />
8<br />NUnit vs MSTest, by Mel Gerats<br />25 April, 2008<br />
Upcoming SlideShare
Loading in...5
×

NUnit vs MSTest

8,175

Published on

Comparison between NUnit and MSTest unit testing frameworks.

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,175
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
177
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "NUnit vs MSTest"

  1. 1. 25 April, 2008<br />NUnitvsMSTest<br />by Mel Gerats<br />
  2. 2. Nunit vs MSTest<br />The showdown<br />25 April, 2008<br />2<br />NUnit vs MSTest, by Mel Gerats<br />
  3. 3. Attributes<br />Nunit<br />[Category(&quot;name&quot;)]<br />[ExpectedException(&quot;myException&quot;)]<br />[Ignore(&quot;reason&quot;)]<br />[Platform(&quot;name&quot;)]<br />[SetUp]<br />[TearDown]<br />[Test]<br />[TestFixture]<br />[TextFixtureSetUp]<br />[TextFixtureTearDown]<br />[Explicit]<br />MSTest<br />[AssemblyCleanup]<br />[AssemblyInitialize]<br />[ClassCleanup]<br />[ClassInitialize]<br />[CssIteration(&quot;name&quot;)]<br />[CssProjectStructure(&quot;name&quot;)]<br />[DataSource(&quot;name&quot;)]<br />[DeploymentItem(&quot;path&quot;)]<br />[Description(&quot;text&quot;)]<br />[ExpectedException(&quot;myExcepton&quot;)]<br />[HostType(&quot;type&quot;)]<br />[Ignore]<br />[Owner(&quot;name&quot;)]<br />[Priority(1)]<br />[TestClass]<br />[TestCleanup]<br />[TestInitialize]<br />[TestMethod]<br />[TestProperty(&quot;name&quot;, &quot;value&quot;)]<br />[Timeout(30)]<br />25 April, 2008<br />3<br />NUnit vs MSTest, by Mel Gerats<br />
  4. 4. Asserts<br />Nunit<br />Assert.AreEqual<br />Assert.AreNotEqual<br />Assert.AreNotSame<br />Assert.AreSame<br />Assert.Contains<br />Assert.Fail<br />Assert.Greater<br />Assert.Ignore<br />Assert.IsAssignableFrom<br />Assert.IsEmpty<br />Assert.IsFalse<br />Assert.IsInstanceOfType<br />Assert.IsNaN<br />Assert.IsNotAssignableFrom<br />Assert.IsNotEmpty<br />Assert.IsNotInstanceOfType<br />Assert.IsNotNull<br />Assert.IsNull<br />Assert.IsTrue<br />Assert.Less <br />MSTest<br />Assert.AreEqual<br />Assert.AreNotEqual<br />Assert.AreNotSame<br />Assert.AreSame<br />Assert.Equals<br />Assert.Fail<br />Assert.Inconclusive<br />Assert.IsFalse<br />Assert.IsInstanceOfType<br />Assert.IsNotInstanceOfType<br />Assert.IsNotNull<br />Assert.IsNull<br />Assert.IsTrue<br />25 April, 2008<br />4<br />NUnit vs MSTest, by Mel Gerats<br />
  5. 5. Features<br />NUnit<br />Independent test runner<br />Integration with 3rd party tools<br />Fast<br />Open source, lots of updates<br />MSTest<br />Integrated in VS<br />Slower<br />25 April, 2008<br />5<br />NUnit vs MSTest, by Mel Gerats<br />
  6. 6. Features…<br />NUnit<br />Build server integration with some work<br />Built-in mocking, addin framework<br />Runs MS Tests !<br />MSTest<br />Build server integration<br />Code coverage results integrated<br />25 April, 2008<br />6<br />NUnit vs MSTest, by Mel Gerats<br />
  7. 7. Resources<br />Attributescomparison<br />25 April, 2008<br />7<br />NUnit vs MSTest, by Mel Gerats<br />
  8. 8. 8<br />NUnit vs MSTest, by Mel Gerats<br />25 April, 2008<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×