| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Awaitility condition listener integration for Allure Java.
Use this module when your tests wait with Awaitility and you want polling attempts, timeouts, ignored exceptions, and successful waits to be visible in Allure Report.
Gradle:
dependencies {
testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
testImplementation("io.qameta.allure:allure-awaitility")
}Maven, with allure-bom imported in dependency management:
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-awaitility</artifactId>
<scope>test</scope>
</dependency>Register io.qameta.allure.awaitility.AllureAwaitilityListener as an Awaitility condition listener.
await()
.conditionEvaluationListener(new AllureAwaitilityListener())
.untilAsserted(() -> assertThat(service.isReady()).isTrue());You can also set it as the default listener for your test suite:
Awaitility.setDefaultConditionEvaluationListener(new AllureAwaitilityListener());| Back | FazBrowse Home | New Git URL |