Rust FAQ
Articles
Search
A−
A+
Lt
Dk
Hi
HD
Home
›
Crates/Rstest
Crates/Rstest
2 articles
How to use rstest
Install rstest via Cargo and use the #[rstest] macro to create parameterized tests with fixtures.
How to use rstest crate in Rust test framework
Add rstest as a dev-dependency and use #[rstest] and #[case] macros to run parameterized tests in Rust.