1 unstable release

0.2.2 Jan 17, 2024

#7 in #flaky

Download history 72/week @ 2024-01-12 62/week @ 2024-01-19 244/week @ 2024-01-26 1008/week @ 2024-02-02 401/week @ 2024-02-09 550/week @ 2024-02-16 471/week @ 2024-02-23 452/week @ 2024-03-01 46/week @ 2024-03-08 24/week @ 2024-03-15 56/week @ 2024-03-22 61/week @ 2024-03-29 45/week @ 2024-04-05 27/week @ 2024-04-12 36/week @ 2024-04-19

187 downloads per month
Used in 2 crates (via flaky_test)

MIT license

7KB
157 lines

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

~1.5MB
~34K SLoC