Weitere ähnliche Inhalte Mehr von Orbit One - We create coherence (20) Kürzlich hochgeladen (20) NUnit vs MSTest2. 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 8. 8 NUnit vs MSTest, by Mel Gerats 25 April, 2008