plutus-contract-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Contract.Test.Coverage

Synopsis

Documentation

getInvokedEndpoints :: [EmulatorEvent] -> Map ContractInstanceTag (Set String) Source #

Get every endpoint name that has been invoced in the emulator events in es indexed by ContractInstanceTag

getCoverageReport :: [EmulatorEvent] -> CoverageReport Source #

Collect every executed coverage annotation in the validators executed in es

Orphan instances

Generic CoverageReport Source # 
Instance details

Associated Types

type Rep CoverageReport :: Type -> Type Source #

NFData CoverageReport Source # 
Instance details

Methods

rnf :: CoverageReport -> () Source #

NFData CoverageAnnotation Source # 
Instance details

Methods

rnf :: CoverageAnnotation -> () Source #

NFData CovLoc Source # 
Instance details

Methods

rnf :: CovLoc -> () Source #

ToJSON CoverageReport Source # 
Instance details

ToJSON CoverageIndex Source # 
Instance details

ToJSON CoverageAnnotation Source # 
Instance details

ToJSON Metadata Source # 
Instance details

ToJSON CoverageMetadata Source # 
Instance details

ToJSON CovLoc Source # 
Instance details

ToJSONKey CoverageAnnotation Source # 
Instance details

FromJSON CoverageReport Source # 
Instance details

FromJSON CoverageIndex Source # 
Instance details

FromJSON CoverageAnnotation Source # 
Instance details

FromJSON Metadata Source # 
Instance details

FromJSON CoverageMetadata Source # 
Instance details

FromJSON CovLoc Source # 
Instance details

FromJSONKey CoverageAnnotation Source # 
Instance details