Shared JUnit Platform adapter for Allure Java.
Most Allure Report users should add allure-jupiter instead. Use this module directly when you build a custom JUnit Platform based integration and need Allure's listener and post-discovery test-plan filter.
- Allure Java 3.x requires Java 17 or newer.
- The current build validates against the JUnit 6.1.0 platform APIs.
Gradle:
dependencies {
testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
testImplementation("io.qameta.allure:allure-junit-platform")
}Maven, with allure-bom imported in dependency management:
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-junit-platform</artifactId>
<scope>test</scope>
</dependency>The module registers these JUnit Platform services:
io.qameta.allure.junitplatform.AllureJunitPlatformio.qameta.allure.junitplatform.AllurePostDiscoveryFilter
Custom engines and launchers can reuse those services to write Allure results from JUnit Platform execution events.
- JUnit Platform test descriptors and execution events.
- Report entries for parameters and fixture metadata.
- Test-plan filtering through
allure-java-commons.