GitPedia

Allure java

Allure integrations for Java test frameworks

From allure-framework·Updated June 19, 2026·View on GitHub·

Allure Java is the JVM integration family for [Allure Report](https://allurereport.org/). It helps Java, Groovy, Scala, Kotlin, and other JVM test suites write Allure result files that can be viewed in Allure Report. The project is written primarily in Java, distributed under the Apache License 2.0 license, first published in 2017. Key topics include: allure, cucumber-jvm, junit4, junit5, reporting.

Latest release: 2.35.3
June 25, 2026View Changelog →

Allure Java

Allure Java is the JVM integration family for Allure Report. It helps Java, Groovy, Scala, Kotlin, and other JVM test suites write Allure result files that can be viewed in Allure Report.

Requirements

  • Allure Java 3.x targets Java 17 and newer.
  • Use one framework adapter per test runtime, for example allure-jupiter, allure-testng, or allure-cucumber7-jvm.
  • Prefer allure-bom to keep Allure module versions aligned.

Quick Start

Gradle:

kotlin
dependencies { testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>")) testImplementation("io.qameta.allure:allure-jupiter") } tasks.test { useJUnitPlatform() }

Maven:

xml
<dependencyManagement> <dependencies> <dependency> <groupId>io.qameta.allure</groupId> <artifactId>allure-bom</artifactId> <version>${allure.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.qameta.allure</groupId> <artifactId>allure-jupiter</artifactId> <scope>test</scope> </dependency> </dependencies>

Run your tests, then generate or serve the report from the produced Allure results directory, usually build/allure-results for Gradle or target/allure-results for Maven.

Module Catalog

Test Frameworks

ModuleUse WhenRegistration
allure-jupiterJUnit Jupiter on JUnit 5 or 6JUnit Platform service loader
allure-junit-platformBuilding a custom JUnit Platform integrationJUnit Platform listener and filter services
allure-junit4JUnit 4 runner where listeners can be configuredRegister io.qameta.allure.junit4.AllureJunit4
allure-junit4-aspectGradle built-in JUnit 4 executionEnable AspectJ weaver
allure-testngTestNG 7 suitesTestNG service loader or listener registration
allure-spock2Spock 2 specificationsSpock global extension service
allure-scalatestScalaTest suitesScalaTest reporter
allure-cucumber7-jvmCucumber JVM 7Cucumber plugin
allure-jbehave5JBehave 5 storiesJBehave story reporter
allure-karateKarate runtime listenersKarate runtime listener
allure-citrusCitrus testsCitrus listeners

HTTP, Browser, And Client Integrations

ModuleUse WhenCaptured Data
allure-rest-assuredREST Assured filtersHTTP requests and responses
allure-httpclient5Apache HttpClient 5 interceptorsHTTP requests and responses
allure-httpclientApache HttpClient 4 interceptorsHTTP requests and responses
allure-okhttp3OkHttp interceptorsHTTP requests and responses
allure-spring-webSpring RestTemplate interceptorsHTTP requests and responses
allure-jax-rsJakarta RESTful Web Services / JAX-RS client filtersHTTP requests and responses
allure-servlet-apiJakarta Servlet request/response conversionServlet request and response data
allure-grpcgRPC client interceptorsgRPC calls and metadata
allure-selenideSelenide UI testsUI steps, screenshots, page source, logs
allure-selenium-bidiSelenium WebDriver BiDi sessionsBrowser logs and network attachments
allure-playwrightPlaywright Java actionsAspectJ action steps and screenshots
allure-jooqjOOQ execution listenerSQL execution steps

Assertions And Utilities

ModuleUse WhenNotes
allure-assertjAssertJ assertions should appear as Allure stepsRequires AspectJ
allure-hamcrestHamcrest assertions should appear as Allure stepsRequires AspectJ
allure-jupiter-assertJUnit Jupiter assertions should appear as Allure stepsRequires AspectJ
allure-awaitilityAwaitility polling should appear as Allure stepsRegister condition listener
allure-jsonunitJsonUnit diffs should be attached to AllureProvides JSON matcher/listener helpers

Core And Support Modules

ModulePurpose
allure-bomMaven/Gradle dependency alignment
allure-java-commonsRuntime API, lifecycle, annotations, aspects, and test-plan filtering
allure-modelSerializable Allure result model
allure-descriptions-javadocAnnotation processor for JavaDoc-based test descriptions

Common Runtime APIs

Most adapters depend on allure-java-commons, which provides the high-level API:

java
import io.qameta.allure.Allure; Allure.step("Create order", () -> { Allure.attachment("request-id", "42"); });

For HTTP clients, browser tools, assertion libraries, and other integrations, add the matching module from the catalog above. Each module README shows the registration snippet for that tool.

Resources

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from allure-framework/allure-java via the GitHub API.Last fetched: 6/29/2026