Skip to content

dev.conformance

2 functions / 1 types

Index

FunctionDescription
beginStart recording statement coverage and clear the previous run’s results.
endFinish recording statement coverage and return the report without waiting for the deadline.
TypeDescription
ConformanceReportStatement coverage results returned by End.

begin

begin(transactionId?: string): Promise<void>

Start recording statement coverage and clear the previous run’s results.

Returns Promise<void>.

transactionId optional : string

end

end(transactionId?: string): Promise<DevConformanceConformanceReport>

Finish recording statement coverage and return the report without waiting for the deadline.

A standalone engine also reports the result through its exit code. An embedded engine returns the result only through this response.

Returns: Statement coverage results returned by End.

Returns Promise<DevConformanceConformanceReport>.

transactionId optional : string

ConformanceReport

Statement coverage results returned by End.

leftOut optional : Array<string>

Exempt statements, formatted as path: reason.

notExercised optional : Array<string>

Registered statements that were neither exercised nor exempted.

passed : boolean

True when the run exercised every non-exempt statement.