pocket testing framework
- small and compact
- generate reports | json
[dependencies]
unitest = { git = "https://github.com/monsieurbadia/unitest" }
fn main() {}
unit!(
test!(should_be_eq, must!(eq: 0, 0));
test!(should_be_ne, must!(ne: 1, 0));
test!(should_be_true, must!(truthy: true));
test!(should_be_false, must!(falsy: false));
test!(should_be_catched, must!(die: { panic!() } ));
);
cargo run example testing