3 unstable releases
0.3.0 | Oct 2, 2024 |
---|---|
0.2.1 | Sep 30, 2024 |
0.2.0 | Sep 30, 2024 |
#771 in Testing
123 downloads per month
Used in 2 crates
(via fickle)
15KB
154 lines
fickle
A macro for handling fickle (flaky) tests in rust.
By default, it will re-run your test 1 time, if the first time fails.
#[test]
#[fickle]
fn my_test() {
// your test here
}
You can specify more runs like so
#[test]
#[fickle(retries=3)]
fn my_test() {
// your test here
}
Dependencies
~230–670KB
~16K SLoC