2 unstable releases

0.2.2 Jan 17, 2024
0.1.0 Aug 11, 2021

#499 in Rust patterns

Download history 749/week @ 2024-01-11 580/week @ 2024-01-18 856/week @ 2024-01-25 1383/week @ 2024-02-01 1342/week @ 2024-02-08 1190/week @ 2024-02-15 1086/week @ 2024-02-22 1441/week @ 2024-02-29 880/week @ 2024-03-07 867/week @ 2024-03-14 797/week @ 2024-03-21 1159/week @ 2024-03-28 1055/week @ 2024-04-04 1115/week @ 2024-04-11 894/week @ 2024-04-18 707/week @ 2024-04-25

3,933 downloads per month
Used in fewer than 14 crates

MIT license

4KB

flaky_test

crates docs

This attribute macro will register and run a test 3 times, erroring only if all three times fail. Useful for situations when a test is flaky.

#[flaky_test::flaky_test]
fn my_test() {
  assert_eq!(1, 2);
}

Dependencies

~2MB
~48K SLoC