fickle-macros

Crates.iofickle-macros
lib.rsfickle-macros
version0.3.0
sourcesrc
created_at2024-09-30 20:39:51.978245
updated_at2024-10-02 00:22:31.940232
descriptionTools for handling fickle (flaky) tests in rust.
homepage
repositoryhttps://git.sr.ht/~ryguy/fickle
max_upload_size
id1392169
size43,159
Ryan Crisanti (rcrisanti)

documentation

README

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
}
Commit count: 0

cargo fmt