NUnit vs MSTest
Upcoming SlideShare
Loading in...5
×
 

NUnit vs MSTest

on

  • 10,491 views

Comparison between NUnit and MSTest unit testing frameworks.

Comparison between NUnit and MSTest unit testing frameworks.

Statistics

Views

Total Views
10,491
Views on SlideShare
10,461
Embed Views
30

Actions

Likes
3
Downloads
151
Comments
0

1 Embed 30

http://www.slideshare.net 30

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    NUnit vs MSTest NUnit vs MSTest Presentation Transcript

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