imag/tests/ui
Matthias Beyer 49af82cc68 Add imag-init test
* Extract function to call imag-init for a tempdir path
* Simplify setup helper functions

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-02 18:19:30 +01:00
..
src Add imag-init test 2019-11-02 18:19:30 +01:00
Cargo.toml Add crate for ui-tests 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).