Skip to content

TestResult

Defined in: test-results.ts:8

Strata Test Results Format

Custom test result format designed for AI-powered triage and diagnosis. Used by both Vitest and Playwright reporters.

duration: number

Defined in: test-results.ts:22

Duration in milliseconds


optional error: TestError

Defined in: test-results.ts:24

Error details if failed


file: string

Defined in: test-results.ts:16

Source file containing the test


fullName: string

Defined in: test-results.ts:14

Full test path (describe blocks)


id: string

Defined in: test-results.ts:10

Unique test identifier


optional line: number

Defined in: test-results.ts:18

Line number in source file


name: string

Defined in: test-results.ts:12

Test name/title


optional retry: number

Defined in: test-results.ts:26

Retry attempt number


status: "failed" | "skipped" | "passed" | "todo"

Defined in: test-results.ts:20

Test status


optional tags: string[]

Defined in: test-results.ts:28

Tags/annotations