Module events

Source
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§

ExecuteStatus
Information about a single execution of a test.
ExecutionStatuses
Information about executions of a test, including retries.
RetryData
Data related to retries for a test.
RunStats
Statistics for a test run.
SetupScriptEnvMap
A map of environment variables set by a setup script.
SetupScriptExecuteStatus
Information about the execution of a setup script.
SetupScriptInfoResponse
A setup script’s response to an information request.
TestEvent
A test event.
TestInfoResponse
A test’s response to an information request.
UnitTerminatingState
The current terminating state of a test or script process.

Enums§

AbortStatus
A regular exit code or Windows NT abort status for a test.
CancelReason
The reason why a test run is being cancelled.
ExecutionDescription
A description of test executions obtained from ExecuteStatuses.
ExecutionResult
Whether a test passed, failed or an error occurred while executing the test.
FinalRunStats
A type summarizing the possible outcomes of a test run.
InfoResponse
A response to an information request.
RunStatsFailureKind
A type summarizing the step at which a test run failed.
TestEventKind
The kind of test event this is.
UnitKind
The kind of unit of work that nextest is executing.
UnitState
The current state of a test or script process: running, exiting, or terminating.
UnitTerminateMethod
The way in which a script or test is being forcibly terminated by nextest.
UnitTerminateReason
The reason for a script or test being forcibly terminated by nextest.
UnitTerminateSignal
The signal that is or was sent to terminate a script or test.