Module reporter

Source
Expand description

Report the results of a test run in human and machine-readable formats.

The main type here is Reporter, which is constructed via a ReporterBuilder.

Modules§

events
Events for the reporter.
structured
Reporting of data in a streaming, structured fashion.

Structs§

ByteSubslice
A subslice of a byte slice.
Reporter
Functionality to report test results to stderr, JUnit, and/or structured, machine-readable results to stdout.
ReporterBuilder
Test reporter builder.
UnitErrorDescription
Given an error or failure running a test or script, collects and aggregates the most relevant information related to the issue.

Enums§

FinalStatusLevel
Status level to show at the end of test runs in the reporter output.
ReporterStderr
Standard error destination for the reporter.
StatusLevel
Status level to show in the reporter output.
TestOutputDisplay
When to display test output in the reporter.
TestOutputErrorSlice
A part of a test output that identifies the most relevant location of a test failure.

Functions§

highlight_end
Given a slice, find the index of the point at which highlighting should end.