TestResult
interfaceinterface TestResultResult of a single test execution
PROPERTIES
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| actual? | { exitCode: number; interleaved: string; stderr: string; stdout: string } | Actual command output |
| duration | number | Execution duration in ms |
| error? | string | Error message if failed |
| example | string | Example ID or path |
| exitCodeFailure? | boolean | True 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. |
| passed | boolean | Whether the test passed |
| test | string | Test case name |