Crates.io | flaky_test |
lib.rs | flaky_test |
version | 0.2.2 |
source | src |
created_at | 2021-08-11 13:39:09.543784 |
updated_at | 2024-01-17 04:57:53.841643 |
description | atttribute macro for running a flaky test multiple times |
homepage | |
repository | https://github.com/denoland/flaky_test |
max_upload_size | |
id | 434766 |
size | 6,684 |
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);
}