Expand description
Events for the reporter.
These types form the interface between the test runner and the test
reporter. The root structure for all events is TestEvent
.
Structs§
- Execute
Status - Information about a single execution of a test.
- Execution
Statuses - Information about executions of a test, including retries.
- Retry
Data - Data related to retries for a test.
- RunStats
- Statistics for a test run.
- Setup
Script EnvMap - A map of environment variables set by a setup script.
- Setup
Script Execute Status - Information about the execution of a setup script.
- Setup
Script Info Response - A setup script’s response to an information request.
- Test
Event - A test event.
- Test
Info Response - A test’s response to an information request.
- Unit
Terminating State - The current terminating state of a test or script process.
Enums§
- Abort
Status - A regular exit code or Windows NT abort status for a test.
- Cancel
Reason - The reason why a test run is being cancelled.
- Execution
Description - A description of test executions obtained from
ExecuteStatuses
. - Execution
Result - Whether a test passed, failed or an error occurred while executing the test.
- Final
RunStats - A type summarizing the possible outcomes of a test run.
- Info
Response - A response to an information request.
- RunStats
Failure Kind - A type summarizing the step at which a test run failed.
- Test
Event Kind - The kind of test event this is.
- Unit
Kind - The kind of unit of work that nextest is executing.
- Unit
State - The current state of a test or script process: running, exiting, or terminating.
- Unit
Terminate Method - The way in which a script or test is being forcibly terminated by nextest.
- Unit
Terminate Reason - The reason for a script or test being forcibly terminated by nextest.
- Unit
Terminate Signal - The signal that is or was sent to terminate a script or test.