Core functionality for cargo nextest. For a higher-level overview, see that documentation.
Here's the basic flow of operations in nextest.
cargo test --no-run
is invoked to build test binaries. (This is handled by cargo-nextest;
nextest just processes the messages produced by the command.)test_list::RustTestArtifact
instances.test_filter::TestFilter
is created based on text filters, along with the
run-ignored and partitioning filters if provided.--list
to
grab the list of tests, the given filters are applied to it, and everything is put together
to create a test_list::TestList
.If cargo nextest list-tests
is called, this test_list::TestList
is printed out. If cargo
nextest run
is called, nextest proceeds to run the tests.
runner::TestRunner
is created with the test list and appropriate configuration.reporter::TestEvent
instances to the
test reporter.test_list::TestInstance
information. Test instances are sent to the thread pool to be executed.See the CONTRIBUTING file for how to help out.
This project is available under the terms of either the Apache 2.0 license or the MIT license.