Squish Coco provides an addin for NUnit version 2.4.4 and above as a sample. To install it proceed as followings:
NUnitSquishCoco.dllusing the Microsoft® Visual Studio® project
NUnitSquishCoco.vsprojprovided in the sample directory.
addinsfolder located in the
NUnit.execan be found.
NUnit.exeand verify that the addin “
NUnit Squish Coco” is loaded.
Once installed, as soon as NUnit’s test driver is executing a C# or C++ managed unit test
test.dll, it generates automatically a code coverage execution report
test.dll.csexe automatically if
test.dll is instrumented with Squish Coco. The code coverage information is organized into a tree containing the coverage and the execution status for each single unit test. The execution report can be then imported into the application’s instrumentation database with CoverageBrowser or cmcsexeimport.