Registry / testing / extentreports

extentreports

JSON →
library5.1.2javamavenunverified

A reporting library for test automation that generates interactive and detailed HTML reports for test execution.

<dependency> <groupId>com.aventstack</groupId> <artifactId>extentreports</artifactId> <version>5.1.2</version> </dependency>
INSTALL
IMPORT
SIG · EXTENTREPORTS
E
extentreports
testingjavav5.1.2
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.

ExtentReports
com.aventstack.extentreports.ExtentReports

Creates an ExtentReports instance, attaches a reporter, logs a test, and generates the report.

import com.aventstack.extentreports.ExtentReports; import com.aventstack.extentreports.reporter.ExtentSparkReporter; public class Example { public static void main(String[] args) { ExtentReports extent = new ExtentReports(); ExtentSparkReporter spark = new ExtentSparkReporter("report.html"); extent.attachReporter(spark); extent.createTest("MyTest").pass("Test passed"); extent.flush(); } }
Debug
Known issues
breakingVersion 5.x uses ExtentSparkReporter instead of the deprecated ExtentHtmlReporter from version 4.x.
fix
Replace ExtentHtmlReporter with ExtentSparkReporter when upgrading from v4 to v5.
affects: >=5.0.0
Upgrade
Version history
5.1.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
5
Resources
extentreports — mvn dependency:get extentreports · libregistry