shoulds
shoulds is a Shouldly-inspired test assertion library for testing Rust.
Current assertion functions include:
should_beshould_not_beshould_be_greater_thanshould_be_greater_than_or_equal_toshould_be_less_thanshould_be_less_than_or_equal_toshould_be_falseshould_be_trueshould_be_errorshould_be_ok
I'll add more assertions along the way as the need arises.
Install:
Cargo.toml:
[]
= "https://github.com/tarrball/shoulds"
= "main"
And Enjoy:
src/lib.rs: