Registry / testing / allure-junit5

allure-junit5

JSON →
library2.33.0javamavenunverified

Integration of Allure reporting framework with JUnit 5 for generating test reports.

<dependency> <groupId>io.qameta.allure</groupId> <artifactId>allure-junit5</artifactId> <version>2.33.0</version> </dependency>
INSTALL
IMPORT
SIG · ALLURE-JUNIT5
A
allure-junit5
testingjavav2.33.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Allure
io.qameta.allure.Allure

Shows how to add an attachment to an Allure report in a JUnit 5 test.

import io.qameta.allure.Allure; import org.junit.jupiter.api.Test; public class ExampleTest { @Test public void testWithAttachment() { Allure.addAttachment("My attachment", "text/plain", "Hello, World!", ".txt"); } }
Debug
Known issues
breakingAllure JUnit5 requires JUnit 5.4 or later.
fix
Update your JUnit 5 dependency to version 5.4.0 or higher.
affects: <2.0.0
Upgrade
Version history
2.33.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
OpenAI (training)
1
Resources
allure-junit5 — mvn dependency:get allure-junit5 · libregistry