Java Domain-specific language (DSL) designed to make it easier to synchronize asynchronous operations and test asynchronous systems

Awaitility is a small and open-source Java-based DSL (domain-specific language) for synchronizing asynchronous operations and easier testing of asynchronous code. It is available for free and can be used in all manner of projects, including commercially, as determined by the Apache 2.0 License.
This DLS was created because of the difficulties involved in testing asynchronous systems. This process requires handling threads, timeouts and concurrency issues, and the intent of the test code can end up being obscured by these and various other details.
Awaitility is a domain-specific language intended to allow you to express expectations of an asynchronous system in an easy-to-read and concise manner. A short example of what the DLS is designed for can be found on the project’s homepage.
To get started, you may wish to also consult the quick start guide available on GitHub. It details the installation process, providing you with the code you need to configure Awaitility in your classpath.
Next, you can move on to the section of the documentation that includes usage examples. Here, you can find samples that show you how the DLS can be used in various scenarios, as well as explanations that should help you figure everything out.

System requirements

415 KB
Update Date
Apache License 2.0
Created By
The Awaitility Team
Related software Development