I am attempting to use monocov for counting unit testing coverage and encountered a problem, had some exhausted google but seems no relevant answer available.
I download and build the monocov successfully by following this tips showed in this [question]: Can't get monocov to compile (Mac OS x 10.7.4)
Had tried using monocov together with nunit-console2 as indicated at http://www.mono-project.com/Code_Coverage
Here is my command:
$ MONO_OPTIONS="--profile=monocov:+/Users/myaccount/MyProject/MonoForm/MonoForm.Common.Generic/bin/Release" nunit-console2 /Users/myaccount/MyProject/MonoForm/MonoForm.Common.UnitTests/bin/Release/MonoForm.Common.UnitTests.dll
And I got the output as:
NUnit version 2.4.8
Copyright(C) 2002-2007 Charlie Poole.
Copyright(C) 2002-2004 James W. Newkirk, Michael C.Two, Alexei A. Vorontsov.
Copyright(C) 2000-2002 Philip Craig.
All Rights Reserved.
Runtime Environment -
OS Version: Unix 11.4.0.0
CLR Version: 2.0.50727.1433 ( 2.10.9(tarball Mon May 7 20:25:51 EDT 2012) )
......
Tests run: 6, Failures: 0, Not run: 0, Time: 0.052 seconds.
$
I got a TestResult.xml is a general output file of nunit-console2, and there is no any error message nor .cov file generated as a result of monocov. Current stuck and run out of idea what's wrong.
Not sure any expert on monocov could shed some light here. Thanks!