Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/tests/domain/Coverage

Pure (DOMAIN-001): the words the screen uses for scenario coverage.

Cockpit client (features), v0.8. Source: ui/client/features/tests/domain/Coverage.ts.

Functions#

coverageSummary()#

coverageSummary(data): string

Defined in: ui/client/features/tests/domain/Coverage.ts:5

"9 scenarios · 7 with a generated test · 2 of your own".

Parameters#

data

TestsListing

Returns#

string


rowForFile()#

rowForFile(rows, file): CoverageRow | null

Defined in: ui/client/features/tests/domain/Coverage.ts:11

The scenario a generated test covers, if the flow still has it.

Parameters#

rows

CoverageRow[]

file

string

Returns#

CoverageRow | null