# awaitility/awaitility

Awaitility is a small Java DSL for synchronizing asynchronous operations

Repository: https://github.com/awaitility/awaitility
Canonical: https://ross.abutalabs.com/products/awaitility
Language: Java
License: Apache-2.0
License Family: permissive
Topics: awaitility, asynchronous, java, testing
Last push: 2026-04-17T11:01:24+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 6067, "days_push": 138, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4020, forks 268 (observed 2026-08-28T04:08:32.519847+00:00)

## What it is
Awaitility is a small Java DSL for synchronizing and testing asynchronous operations with readable, concise expectations. It handles polling, timeouts, and waiting so test code stays clear of concurrency boilerplate.

## Use cases
- wait for async operation to complete in a java test
- test asynchronous message processing with timeouts
- avoid thread sleeps in unit tests
- poll until a condition is true in java
- test concurrent systems with readable assertions
- await untilAsserted with assertj

## When to choose
- you write JVM tests involving async, threaded, or message-driven behavior
- you want a concise DSL instead of manual sleep/poll loops
- you need configurable timeouts and poll intervals in tests

## When to avoid
- your code is fully synchronous with no async behavior
- you need end-to-end browser or load testing rather than async synchronization
- you work outside the JVM ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: testing, concurrency
- domain: testing, developer-tools
- platform: jvm, cross-platform
- tags: async-testing, dsl, polling, test-utility, java, jvm

## Member repositories
- awaitility/awaitility (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.519847+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:56.102596+00:00, confidence not recorded.
  - readme: https://github.com/awaitility/awaitility (fetched 2026-08-28T04:08:32.519847+00:00, sha 6eeb727ab5c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
