Your SlideShare is downloading. ×
NUnit vs MSTest
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

NUnit vs MSTest

7,964

Published on

Comparison between NUnit and MSTest unit testing frameworks.

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
7,964
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
166
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 25 April, 2008
    NUnitvsMSTest
    by Mel Gerats
  • 2. Nunit vs MSTest
    The showdown
    25 April, 2008
    2
    NUnit vs MSTest, by Mel Gerats
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. Resources
    Attributescomparison
    25 April, 2008
    7
    NUnit vs MSTest, by Mel Gerats
  • 8. 8
    NUnit vs MSTest, by Mel Gerats
    25 April, 2008

×