Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getInvokedEndpoints :: [EmulatorEvent] -> Map ContractInstanceTag (Set String)
- getCoverageData :: [EmulatorEvent] -> CoverageData
- newtype CoverageRef = CoverageRef (IORef CoverageData)
- newCoverageRef :: IO CoverageRef
- readCoverageRef :: CoverageRef -> IO CoverageData
- writeCoverageReport :: String -> CoverageReport -> IO ()
Documentation
getInvokedEndpoints :: [EmulatorEvent] -> Map ContractInstanceTag (Set String) Source #
Get every endpoint name that has been invoked in the emulator events in es
indexed by ContractInstanceTag
getCoverageData :: [EmulatorEvent] -> CoverageData Source #
Collect every executed coverage annotation in the validators executed in es
newtype CoverageRef Source #
CoverageRef (IORef CoverageData) |
readCoverageRef :: CoverageRef -> IO CoverageData Source #
writeCoverageReport :: String -> CoverageReport -> IO () Source #
Write a coverage report to name.html for the given index.