This project use nightly feature(rustc_private).
- Get coverage report of existing Rust project by using tarpaulin
-
Download tarpaulin
git submodule init git submodule update
-
Build docker image for tarpaulin
./build-tarpaulin.sh
-
Change
PROJECT_HOME
indocker.sh
and get coverage report of Rust projectvim docker.sh # change PROJECT_HOME ./docker.sh ## in container cd TARGET_PROJECT cargo tarpaulin --out Json --output-dir TARGET_PATH
-
Download rustfmt, rustc-dev and llvm-tools-preview
rustup component add rustfmt rustup component add rustc-dev rustup component add llvm-tools-preview
- Run TinyMutator
-
You can run TinyMutator with tarpaulin included.
cargo run [TARGET_PATH]
-
But it is recommended to run TinyMutator with coverage report.
cargo run [TARGET_PATH] [COVERAGE_REPORT]