Crate ui_test

source ·
Expand description

A crate to run the Rust compiler (or other binaries) and test their command line output.

Re-exports

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.
  • Information about a test failure.

Enums

  • All the ways in which a test can fail.
  • Possible choices for styling the output.
  • 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.
  • When to run rustfix on tests
  • The possible non-failure results a single test can have.

Functions

Type Aliases

  • Replacements to apply to output files.
  • The possible results a single test can have.