lunedì 16 maggio 2011

MonoCov fixed

I recently fixed the build problems of MonoCov on mono 2.10 (should work with 2.8 too).

The build errors were due to the dropped glib debendency from the mono runtime, which was still needed by monocov.

Now I can test the code coverage of Epic's unit tests even on my beloved Debian workstation. :-D

Should you encounter problems with the coverage of properties do not forget to run the unit tests with the -O=-inline
argument, like this:

$ mono -O=-inline --debug --profile=monocov:outfile=/tmp/Epic.cov,+[Epic.Core] nunit.exe -run Epic.nunit

Indeed mono inlines simple proprieties to get better performances, so that to get the coverage information you have to disable inlining.

Nessun commento:

Posta un commento