flaky_test

Crates.ioflaky_test
lib.rsflaky_test
version0.2.2
sourcesrc
created_at2021-08-11 13:39:09.543784
updated_at2024-01-17 04:57:53.841643
descriptionatttribute macro for running a flaky test multiple times
homepage
repositoryhttps://github.com/denoland/flaky_test
max_upload_size
id434766
size6,684
David Sherret (dsherret)

documentation

README

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);
}
Commit count: 6

cargo fmt