[Haskell-cafe] Problems with Haskell Program Coverage

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Thu Apr 23 06:55:39 EDT 2009


Dominic Steinitz <dominic.steinitz at blueyonder.co.uk> wrote:

> I want to use hpc to check that the ASN.1 library tests cover all the
> code.  When I run it with a set of tests that I *know* don't test
> certain things, it  reports that they have been covered i.e. there are
> not coloured in the markup  that hpc produces. I would have expected a
> lot of yellow.

The record of coverage is cumulative across multiple runs.  Is it
possible that you did not remove an old .tix file before running the
tests?

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list