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.
Properties
Section titled “Properties”duration
Section titled “duration”duration:
number
Defined in: test-results.ts:22
Duration in milliseconds
error?
Section titled “error?”
optionalerror: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
Section titled “fullName”fullName:
string
Defined in: test-results.ts:14
Full test path (describe blocks)
id:
string
Defined in: test-results.ts:10
Unique test identifier
optionalline:number
Defined in: test-results.ts:18
Line number in source file
name:
string
Defined in: test-results.ts:12
Test name/title
retry?
Section titled “retry?”
optionalretry:number
Defined in: test-results.ts:26
Retry attempt number
status
Section titled “status”status:
"failed"|"skipped"|"passed"|"todo"
Defined in: test-results.ts:20
Test status
optionaltags:string[]
Defined in: test-results.ts:28
Tags/annotations