Crates.io | awaitility |
lib.rs | awaitility |
version | 0.3.1 |
source | src |
created_at | 2020-07-19 04:43:41.929103 |
updated_at | 2023-08-14 14:42:22.101937 |
description | Awaitility for Rust |
homepage | https://github.com/cuzfrog/awaitility |
repository | https://github.com/cuzfrog/awaitility |
max_upload_size | |
id | 266751 |
size | 26,553 |
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);
// ...
See RustDoc for more examples.
Apache License 2.0
Cause Chung (cuzfrog@gmail.com, cuzfrog@139.com)