Module output

Source

Structs§

CaseId
DirectoryReporter
A reporter that saves results and artifacts to disk in the Fuchsia test output format.
DirectoryWithStdoutReporter
A reporter implementation that saves output to the structured directory output format, and also saves human-readable reports to the directory. The reports are generated per-suite, and are generated using |ShellReporter|.
EntityInfo
EntityReporter
InMemoryArtifact
InMemoryDirectoryWriter
InMemoryReporter
A reporter that acts as a data sink and stores results for inspection in memory.
MultiplexedReporter
A reporter that reports results to two contained reporters.
NoopReporter
A reporter that acts as a data sink and does not save results or artifacts.
ShellReporter
A reporter that outputs results and artifacts to a single stream, usually stdout. This reporter is intended to provide “live” updates to a developer watching while tests are executed.
ShellWriterView
A handle to a writer contained in a |ShellWriterHandle|. This is exposed for testing purposes.
SuiteId
ZxTime
A wrapper around Fuchsia’s representation of time. This is added as fuchsia-zircon is not available on host.

Enums§

ArtifactType
An enumeration of different known artifact types.
DirectoryArtifactType
An enumeration of different known artifact types consisting of multiple files.
EntityId
ReportedOutcome
Common outcome type for test results, suites, and test cases.
SchemaVersion
Schema version.
Timestamp

Traits§

DirectoryWrite
A trait for writing artifacts that consist of multiple files organized in a directory.
Reporter
A trait for structs that report test results. Implementations of Reporter serve as the backend powering RunReporter.

Type Aliases§

CaseReporter
A reporter for structured results scoped to a single test case. Note this may not outlive the SuiteReporter from which it is created.
RunReporter
A reporter for structured results scoped to a test run. To report results and artifacts for a test run, a user should create a RunReporter, and create child SuiteReporters and CaseReporters beneath it to report results and artifacts scoped to suites and cases. When the run is finished, the user should call record to ensure the results are persisted.
SuiteReporter
A reporter for structured results scoped to a test suite. Note this may not outlive the RunReporter from which it is created.