[Haskell-cafe] The State of Testing?

Christoph Breitkopf chbreitkopf at googlemail.com
Wed Feb 8 11:42:40 CET 2012

Hello Thomas,

On Wed, Feb 8, 2012 at 4:03 AM, Thomas Tuegel <ttuegel at 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120208/223a99fa/attachment.htm>

More information about the Haskell-Cafe mailing list