Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 406 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 406 Bytes

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);
}