Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denoland/flaky_test
atttribute macro for running a flaky test multiple times
https://github.com/denoland/flaky_test
Last synced: about 2 months ago
JSON representation
atttribute macro for running a flaky test multiple times
- Host: GitHub
- URL: https://github.com/denoland/flaky_test
- Owner: denoland
- License: mit
- Created: 2021-08-11T13:24:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T04:57:24.000Z (8 months ago)
- Last Synced: 2024-07-28T17:43:43.136Z (about 2 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/flaky_test
- Size: 15.6 KB
- Stars: 25
- Watchers: 16
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# flaky_test
[![crates](https://img.shields.io/crates/v/flaky_test.svg)](https://crates.io/crates/flaky_test)
[![docs](https://docs.rs/flaky_test/badge.svg)](https://docs.rs/flaky_test)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.```rust
#[flaky_test::flaky_test]
fn my_test() {
assert_eq!(1, 2);
}
```