ModuleCabal-3.12.1.0Haskell2010
Distribution.Simple.Hpc
This module provides functions for locating various HPC-related paths and a function for adding the necessary options to a PackageDescription to build test suites with HPC enabled.
- 2 types
- 6 values
- PackageCabal-3.12.1.0
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceHpc.hs
Attempt to guess the way the test suites in this package were compiled and linked with the library so the correct module interfaces are found.
tixFilePath Path to the .tix file containing a test suite's sum statistics.
Haskell Program Coverage information required to produce a valid HPC report through the `hpc markup` call for the package libraries.
Constructors
HPCMarkupInfopathsToLibsArtifacts :: [FilePath]The paths to the library components whose modules are included in the coverage report
libsModulesToInclude :: [ModuleName]The modules to include in the coverage report
markupPackage :: Verbosity-> HPCMarkupInfo-> LocalBuildInfo-> FilePathTestsuite "dist/" prefix
-> PackageDescription-> [TestSuite]-> IO ()
Generate the HTML markup for a package's test suites.