MCPcopy Index your code
hub / github.com/awaitility/awaitility

github.com/awaitility/awaitility @awaitility-4.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release awaitility-4.3.0 ↗ · + Follow
871 symbols 3,851 edges 124 files 246 documented · 28% 50 cross-repo links updated 2mo ago★ 4,01869 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Awaitility

Build Status Maven Central

Testing asynchronous systems is hard. Not only does it require handling threads, timeouts, and concurrency issues, but the intent of the test code can be obscured by all these details. Awaitility is a DSL that allows you to express expectations of an asynchronous system in a concise and easy-to-read manner. For example:

@Test
public void updatesCustomerStatus() {
    // Publish an asynchronous message to a broker (e.g. RabbitMQ):
    messageBroker.publishMessage(updateCustomerStatusMessage);
    // Awaitility lets you wait until the asynchronous operation completes:
    await().atMost(5, SECONDS).until(customerStatusIsUpdated());
    ...
}

News

  • 2024-08-07: Awaitility 4.2.2 is released with support for "ea" JVM versions. See changelog for details.
  • 2024-03-15: Awaitility 4.2.1 is released. It allows for easier use of logging and some bug fixes and improvements. See changelog for details.
  • 2022-03-04: Awaitility 4.2.0 is released. It allows the use of assertion libraries such as Hamcrest or Assertj in fail-fast conditions as well as various improvements and bug fixes. See changelog for details.

Older news

Documentation

Links

Buy Me A Coffee

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 707
Class 132
Function 22
Interface 10

Languages

Java94%
Kotlin6%

Modules by API surface

awaitility/src/test/java/org/awaitility/AwaitilityTest.java62 symbols
awaitility/src/main/java/org/awaitility/core/ConditionFactory.java41 symbols
awaitility/src/test/java/org/awaitility/UsingAtomicTest.java30 symbols
awaitility/src/test/java/org/awaitility/ConditionEvaluationListenerTest.java30 symbols
awaitility-kotlin/src/test/kotlin/org/awaitility/kotlin/KotlinTest.kt28 symbols
awaitility/src/main/java/org/awaitility/Awaitility.java25 symbols
awaitility/src/main/java/org/awaitility/core/FieldSupplierBuilder.java24 symbols
awaitility-java8-test/src/test/java/org/awaitility/AwaitilityJava8Test.java24 symbols
awaitility-kotlin/src/main/kotlin/org/awaitility/kotlin/AwaitilityKt.kt23 symbols
awaitility/src/test/java/org/awaitility/UsingFieldSupplierTest.java21 symbols
awaitility/src/test/java/org/awaitility/AwaitilityIgnoreExceptionsTest.java20 symbols
awaitility-java8-test/src/test/java/org/awaitility/ConditionEvaluationListenerJava8Test.java20 symbols

For agents

$ claude mcp add awaitility \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page