Mark Brown

Nota Bene

Integrate NUnit into the IDE

As I've mentioned before I've been jumping into NUnit more and more lately. I just found this little gem to integrate NUnit and the IDE.

“TestRunner seamlessly integrates NUnit testing and debugging into a compact Visual Studio .NET 2003 add-in.“

http://www.mailframe.net/Products/TestRunner.htm


1using System;
2using NUnit.Framework;
3
4namespace TestRunner
5{
6 public class Library
7 {
8 public static string HelloWorld()
9 {
10 return "Hello World!";
11 }
12 }
13
14 [TestFixture]
15 public class UnitTest
16 {
17 [Test]
18 public void TestEqual()
19 {
20 string TestString = Library.HelloWorld();
21 Assert.AreEqual("Hello World!", TestString );
22 }
23 }
24}

 

Posted: Jun 11 2004, 09:33 AM by markbrown | with no comments
Filed under:

Comments

No Comments