Crates.io | cargo-testify |
lib.rs | cargo-testify |
version | 0.3.0 |
source | src |
created_at | 2017-09-02 17:34:25.77806 |
updated_at | 2018-06-03 18:50:20.814098 |
description | Tool to automatically run tests on your Rust project and notify about the result. |
homepage | https://github.com/greyblake/cargo-testify |
repository | https://github.com/greyblake/cargo-testify |
max_upload_size | |
id | 30267 |
size | 18,076 |
Automatically runs tests on your Rust project and notifies about the result.
Install prerequisites (for Debian/Ubuntu):
apt-get install -y libdbus-1-dev
Install the crate:
cargo install cargo-testify
Run within your Rust project:
cargo testify
It watches changes in the project directory, and reacts by running cargo test
.
The output result is parsed to identify one of the possible outcomes:
To display notification in the Desktop environment notify-send
(Linux) or osascript
(MacOS) commands are used.
src/**/*.rs
tests/**/*.rs
Cargo.toml
Cargo.lock
build.rs
cargo test
Run cargo test --lib
on file change:
cargo testify -- --lib
greyblake Potapov Sergey - creator, maintainer.
hoodie Hendrik Sollich - thanks for notify-rust crate
waywardmonkeys Bruce Mitchener - fix typos
Hugal31 - support of --include
option