Expand description
A crate to run the Rust compiler (or other binaries) and test their command line output.
Re-exports
pub use clap;
pub use color_eyre;
Modules
- An interface to github actions workflow commands.
- Variaous schemes for reporting messages during testing or after testing is done.
Structs
- Plain arguments if
ui_test
is used as a binary. - A command, its args and its environment. Used for the main command, the dependency builder and the cfg-reader.
- Central datastructure containing all information to run the tests.
Enums
- All the ways in which a test can fail.
- A filter’s match rule.
- Decides what is expected of each test’s exit status.
- The different options for what to do when stdout/stderr files differ from the actual output.
- The possible results a single test can have.
Functions
- The filter used by
run_tests
to only run on.rs
files and those specified in the command line args. - Run on all files that are matched by the filter in the argument list
- The default per-file config used by
run_tests
. - A generic multithreaded runner that has a thread for producing work, a thread for collecting work, and
num_threads
threads for doing the work. - Run all tests as described in the config argument. Will additionally process command line arguments.
- A version of
run_tests
that allows more fine-grained control over running tests. - Create a command for running a single file, with the settings from the
config
argument. Ignores various settings fromConfig
that relate to finding test files.
Type Definitions
- Replacements to apply to output files.