Module nextest_runner::reporter
source · Expand description
Report the results of a test run in human and machine-readable formats.
The main type here is TestReporter
, which is constructed via a TestReporterBuilder
.
Modules§
- Functionality for emitting structured, machine readable output in different formats
Structs§
- A test event.
- Functionality to report test results to stderr, JUnit, and/or structured, machine-readable results to stdout
- Test reporter builder.
Enums§
- The reason why a test run is being cancelled.
- The return result of
heuristic_extract_description
. - Status level to show at the end of test runs in the reporter output.
- Standard error destination for the reporter.
- Status level to show in the reporter output.
- The kind of test event this is.
- When to display test output in the reporter.
Functions§
- Attempts to heuristically extract a description of the test failure from the output of the test.
- Given a slice, find the index of the point at which highlighting should end.