TestResult

interface
interface TestResult

Result of a single test execution

PROPERTIES

NAMETYPEDESCRIPTION
actual?{ exitCode: number; interleaved: string; stderr: string; stdout: string }Actual command output
durationnumberExecution duration in ms
error?stringError message if failed
examplestringExample ID or path
exitCodeFailure?booleanTrue when the only assertion that failed was an exit code check. Reporters use this to display interleaved output (which gives more context about what went wrong) rather than separate stdout/stderr blocks.
passedbooleanWhether the test passed
teststringTest case name