- Uncomment using Microsoft.VisualStudio.TestTools.UnitTesting;
- Add Reference nunit framework (install latest nunit ) dll will be here "C:\Program Files\NUnit 2.5.1\bin\net-2.0\nunit.framework.dll" framework to your test project
- Add nunit reference using NUnit.Framework;
- Change [TestMethod()] to [Test]
- Change [TestClass()] to [TestFixture]
- Comment function TestContext
- Comment //private TestContext testContextInstance;
- Build the solution open Nunit GUI ->Open the testing project dll which is created
Voila!! MS Test in Nunit
No comments:
Post a Comment