Interface: TestInsights

June 6, 2026 ยท View on GitHub

CTRF


CTRF / TestInsights

Interface: TestInsights

Defined in: types.ts:314

Test-level insights computed from historical data

Properties

passRate?

optional passRate?: MetricDelta

Defined in: types.ts:316

Pass rate metric


failRate?

optional failRate?: MetricDelta

Defined in: types.ts:318

Fail rate metric


flakyRate?

optional flakyRate?: MetricDelta

Defined in: types.ts:320

Flaky rate metric


averageTestDuration?

optional averageTestDuration?: MetricDelta

Defined in: types.ts:322

Average test duration metric


p95TestDuration?

optional p95TestDuration?: MetricDelta

Defined in: types.ts:324

95th percentile test duration metric


executedInRuns?

optional executedInRuns?: number

Defined in: types.ts:326

Number of runs this test was executed in


extra?

optional extra?: Record<string, unknown>

Defined in: types.ts:328

Custom metadata