| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
TestNG listener integration for Allure Java.
Use this module when your test suite runs on TestNG and you want TestNG suites, tests, configuration methods, parameters, and failures to appear in Allure Report.
Gradle:
dependencies {
testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
testImplementation("io.qameta.allure:allure-testng")
}Maven, with allure-bom imported in dependency management:
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-testng</artifactId>
<scope>test</scope>
</dependency>The module exposes io.qameta.allure.testng.AllureTestNg as a TestNG listener through service loader metadata. You can also register it explicitly in testng.xml or with @Listeners.
import io.qameta.allure.testng.AllureTestNg;
import org.testng.annotations.Listeners;
@Listeners(AllureTestNg.class)
class MyTest {
}| Back | FazBrowse Home | New Git URL |