Running NUnit in SharpDevelop
Download the most recent version of NUnit. Use the Windows version.
By default it installs in Program Files/NUnit* . Add the NUnit.Framework.dll to a new C# class library.
The following then runs.
/*
* Created by SharpDevelop.
* User: Administrator
* Date: 4/29/2006
* Time: 9:48 PM
*
* To change this template use Tools Options Coding Edit Standard Headers.
*/
using System;
using NUnit.Framework;
namespace NUnitFoo
{
[TestFixture]
public class MyTest
{
[Test]
public void Test1()
{
Assert.Fail("This fails.");
}
}
}
By default it installs in Program Files/NUnit* . Add the NUnit.Framework.dll to a new C# class library.
The following then runs.
/*
* Created by SharpDevelop.
* User: Administrator
* Date: 4/29/2006
* Time: 9:48 PM
*
* To change this template use Tools Options Coding Edit Standard Headers.
*/
using System;
using NUnit.Framework;
namespace NUnitFoo
{
[TestFixture]
public class MyTest
{
[Test]
public void Test1()
{
Assert.Fail("This fails.");
}
}
}
