stack-1.4.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Coverage

Description

Generate HPC (Haskell Program Coverage) reports

Synopsis

Documentation

deleteHpcReports :: (StackM env m, HasEnvConfig env) => m () Source #

Invoked at the beginning of running with "--coverage"

updateTixFile :: (StackM env m, HasEnvConfig env) => PackageName -> Path Abs File -> String -> m () Source #

Move a tix file into a sub-directory of the hpc report directory. Deletes the old one if one is present.

generateHpcReport :: (StackM env m, HasEnvConfig env) => Path Abs Dir -> Package -> [Text] -> m () Source #

Generates the HTML coverage report and shows a textual coverage summary for a package.