ui/client/features/tests/components/CoverageTable
Cockpit client (features), v0.8. Source: ui/client/features/tests/components/CoverageTable.tsx.
Functions#
CoverageTable()#
CoverageTable(
__namedParameters):Element
Defined in: ui/client/features/tests/components/CoverageTable.tsx:15
Every scenario the flow can take, the branch that tells it apart, and whether a test covers it. A covered scenario opens its (locked) test; an uncovered one offers Generate. Last result comes from the latest run.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
rows |
CoverageRow[] |
Yes | — | |
selectedFile |
`string | null` | Yes | — |
generating |
boolean |
Yes | — | |
resultOf |
(file: string) => ResultMark |
No | — | The latest run's result for a generated test file: a symbol and a word, or "Not run". |
onOpen |
(file: string) => void |
Yes | — | |
onGenerate |
() => void |
Yes | — |
Returns#
Element