I want to write test cases that depend on parameters. My test case should be executed for each parameter and I want to see whether it succeeds or fails for each parameter.
Use https://github.com/frondeus/test-case crate.
Example:
#[test_case("some")] #[test_case("other")] fn works_correctly(arg: &str) { assert!(arg.len() > 0) }