Java Domain-specific language (DSL) designed to make it easier to synchronize asynchronous operations and test asynchronous systems. #Synchronize asynchronous operations #Testing asynchronous systems #Java DSL #DSL #Java #Testing
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
What's new in Awaitility 4.0.3:
- Upgraded to Scala 2.13.2 from 2.13.0 (thanks to sullis for pull request)
- Upgraded Kotlin extension to use Kotlin 1.3.72 (instead of 1.3.61)
- Improved org.awaitility.core.ConditionEvaluationLogger to accept a consumer that decides how the logs are printed. You can use this to for example log intermediary values using slf4j instead of System.out.println or log to to disk or a data structure such as CopyOnWriteArrayList. For example:
- await().conditionEvaluationListener(new ConditionEvaluationLogger(log::info)).until(<some condition>);
Awaitility 4.0.3
add to watchlist add to download basket send us an update REPORT- PRICE: Free
- runs on:
- Windows All
- file size:
- 415 KB
- filename:
- awaitility-4.0.3.zip
- main category:
- Programming
- developer:
- visit homepage