imag/tests/ui
Matthias Beyer 485ad3815f Add helper function to get stderr of a command
But also get back the Assert object, which can then be used to check
whether the command succeeded or failed.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-03 11:30:33 +01:00
..
src Add helper function to get stderr of a command 2019-11-03 11:30:33 +01:00
Cargo.toml Add test: Check whether imag-header prints correct string when querying imag.version header 2019-11-02 18:19:30 +01:00
README.md Add crate for ui-tests 2019-11-02 18:19:30 +01:00

UI testing

This crate is just a helper crate for CI runs and development. It contains test code which tests the actual imag binaries and their user interfaces and behaviour.

Tests are automatically done in temporary directories. The test setup removes these testing directories after tests have run. To prevent this, set IMAG_UI_TEST_PERSIST.

Use the normal RUST_LOG functionality for logging (or see the documentation for the env_logger crate).