Crates.io Apache-2.0 licensed Build status

Awaitility for Rust

Fast, Simple, Straightforward Test utility for async functionalities.

Getting Started

toml [dev-dependencies] awaitility = "0.2" Awaitility itself has 0 dependencies.

Basic Usage

rust 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.

Licence

Apache License 2.0

Author

Cause Chung (cuzfrog@gmail.com, cuzfrog@139.com)