Forky Test
At this stage Forky is really just a proof of concept, do not use seriously!
Basically a jest clone, the forky_test
crate will set you up with a beautiful test harness and intuitive matchers that are easy on the eyes.
Features
Pretty success messages
In progress indication
Failure context
Getting started
Add the following files:
Cargo.toml
[[]]
= "forky"
= "tests/main.rs"
= false
tests/main.rs
use *;
tests/my_test.rs
use *;
describe!;
Commands
- Run
cargo test --test forky
- With watch
cargo watch -q -x 'test --test forky -- -w'
- Clears terminal on each run
- Returns an exit code zero (cleaner)
- Specify filename
cargo test --test forky -- my_test