Crate run_test_suite_lib

Source

Modules§

diagnostics
output

Structs§

ConnectionError
DirectoryReporterOptions
RunParams
Parameters that specify how the overall test run should be executed.
SingleRunConnector
A connector that produces a single proxy and instructs all suites to be executed using it.
TestParams
Parameters that specify how a single test suite should be executed.

Enums§

Outcome
RunTestSuiteError
An enum of the different errors that may be encountered while running a test.
TimeoutBehavior
Sets the behavior of the overall run if a suite terminates with a timeout.
UnexpectedEventError
An error returned when test manager reports an unexpected event. This could occur if test manager violates guarantees about event ordering.

Traits§

RunBuilderConnector
Implementing this trait allows configuring the number of suites to run on a single RunBuilder connection. This alleviates an issue where for n suites run on a single RunBuilder connection, n channels must be opened up front. This can cause some issues with resource limitations when a large number of tests is specified (see https://fxbug.dev/42062444).

Functions§

copy_debug_data
Copy debug data reported over a debug data iterator to an output directory.
create_reporter
Create a reporter for use with |run_tests_and_get_outcome|.
parse_provided_realm
run_tests_and_get_outcome
Runs tests specified in |test_params| and reports the results to |run_reporter|.