From version 2.2.x NUnit supports AddIns. Addins can customize NUnit’s internal behavior such as the creation of tests and their execution. An Addin should to implement the interface NUnit.Core.Extensibility.IAddin, which can be found in the assembly nunit.core.interfaces. Also the NUnit.Core.Extensibility.NUnitAddinAttribute must be applied to Addin class. The attribute parameters Name and Description represent the name of the extension and a description of what it does. The NUnit.Core.Extensibility.IAddin has only one method, Install(). The Install method is called by each host for which the addin has specified an ExtensionType. The addin should check that the necessary extension points are available and install itself, returning true for success or false for failure to install. The method will be called once for each extension host and – for Core extensions – each time a new test domain is loaded. Here is a minimal addin.
namespace SampleAddIn
{
using NUnit.Core.Extensibility;
[NUnitAddin(Name = "SampleAddIn", Description = "This is a Sample AddIn")]
public class SampleNUnitAddin : IAddin
{
#region IAddin Members
public bool Install(IExtensionHost host)
{
return true;
}
#endregion
}
}
You can install the Addin, by copying the assembly to bin\Addins folder, relative to NUnit installation directory. You can verify your addin by starting NUnit, Tools > Addins menu.

Registered AddIns Dialog
This Addin does nothing. It simply registers itself to NUnit. You can more details about NUnit Addins here
If you are using VS2010, then please make sure your target framework is .Net 2.0. Otherwise Addin won’t work.






