
14 Jan
2008
14 Jan
'08
1:12 p.m.
Has the Haskell Program Coverage tool been integrated into Cabal? That is, is there anything like "runhaskell Setup.hs coverage" to generate a coverage report? Thanks, Greg

14 Jan
14 Jan
1:17 p.m.
garious:
Has the Haskell Program Coverage tool been integrated into Cabal? That is, is there anything like "runhaskell Setup.hs coverage" to generate a coverage report?
Not yet, but definitely on the todo list (its a variant of the test target, that would add -fhpc to each compile, so might be a bit tricky). Until then, you can hook hpc into your testsuite. I'd also recommend linking to the hpc coverage logs from your cabal file's 'description' field., until hackage can compute hpc results automatically. Bring on the code quality! -- Don
6341
Age (days ago)
6341
Last active (days ago)
1 comments
2 participants
participants (2)
-
Don Stewart
-
Greg Fitzgerald