Skip to content

calculateStateMachineCoverage

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/utils/coverage-calculator.ts

Calculate coverage for a single state machine

Signature

ts
function calculateStateMachineCoverage(stateMachine: StateMachine, screenshots: EnhancedScreenshotMetadata[], interactions: UIInteraction[]): StateMachineCoverage

Parameters

NameType
stateMachineStateMachine
screenshotsEnhancedScreenshotMetadata[]
interactionsUIInteraction[]

Returns: StateMachineCoverage

Was this page helpful?

Download as PDF