test_case crate provides procedural macro attribute that generates parametrized test instances.
Crate has to be added as a dependency to
 = "3.0.0"
and imported to the scope of a block where it's being called
(since attribute name collides with rust's built-in
cargo test for this example:
; ; ; ;
Starting with version 3.0 and up
test-case introduces policy of only supporting latest stable Rust.
These changes may happen overnight, so if your stack is lagging behind current stable release,
it may be best to consider locking
test-case version with
= in your
Most up to date documentation is available in our wiki.
Licensed under of MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
Project roadmap is available at link. All contributions are welcome.
cargo readme- to regenerate README.md based on template and lib.rs comments
cargo insta- to review test snapshots
cargo edit- to add/remove dependencies
cargo fmt- to format code
cargo clippy- for all insights and tips
cargo fix- for fixing warnings