Fast, Simple, Straightforward Test utility for async functionalities.
[dev-dependencies]
awaitility = "0.3"
Awaitility itself has 0 dependencies.
awaitility::at_most(Duration::from_millis(100)).until(|| {test something is true});
awaitility::at_least(Duration::from_millis(100)).always(|| {test something is true});
awaitility::at_least(Duration::from_millis(100)).until_no_panic(|| {assert_eq!(1, 1)});
// ...
See RustDoc for more examples.
Apache License 2.0
Cause Chung (cuzfrog@gmail.com, cuzfrog@139.com)