2 unstable releases

0.2.2 Jan 17, 2024
0.1.0 Aug 11, 2021

#2 in #flaky

Download history 588/week @ 2023-12-23 649/week @ 2023-12-30 698/week @ 2024-01-06 683/week @ 2024-01-13 677/week @ 2024-01-20 951/week @ 2024-01-27 1636/week @ 2024-02-03 1087/week @ 2024-02-10 1234/week @ 2024-02-17 1113/week @ 2024-02-24 1256/week @ 2024-03-02 937/week @ 2024-03-09 803/week @ 2024-03-16 800/week @ 2024-03-23 1317/week @ 2024-03-30 877/week @ 2024-04-06

3,912 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