8 Feb
2012
8 Feb
'12
6:42 p.m.
Hello Thomas, On Wed, Feb 8, 2012 at 4:03 AM, Thomas Tuegel <ttuegel@gmail.com> wrote:
First, as author of the test suite code, let me apologize for the terrible documentation.
This is absolutely NOT how coverage reports are supposed to work. If you configure with '--enable-tests --enable-library-coverage', Cabal will take care of _everything_ else for you, including excluding the test module from the coverage report. You should not have to put any flag gymnastics in your .cabal file.
I get only "cabal: unrecognized option `--enable-library-coverage'" when doing that. Which cabal version do I need? Can you point me to any docs about this? I'm still using test type exitcode-stdio-1.0, because I could not get detailed-1.0 to work. TIA, Chris