-
Notifications
You must be signed in to change notification settings - Fork 139
Breaking Changes
If you are upgrading from version 4, the upgrade path is quite straight-forward. The ExtentHtmlReporter and ExtentLoggerReporter outputs have been removed and replaced by ExtentSparkReporter (since 4.1.5). To keep the API usage inline with the major Java test-frameworks (JUnit and TestNG), a few changes to the Status enumeration have also been implemented.
The complete list of changes are below:
The ExtentHtmlReporter and ExtentLoggerReporter were deprecated in series 4.1.x and have been removed in version 5. The replacement is ExtentSparkReporter, which is comprehensive, ports all features along with a host of new ones.
ExtentReports::getStartedReporters has been removed. It is no longer possible to obtain a list of started reporters via the API.
ExtentReports::detachReporter has been removed. It is no longer possible to detach observers once they have been subscribed.
ExtentReports:setTestRunnerOutput renamed to addTestRunnerOutput. This change was made to add clarity to what this method did behind the scenes, which is adding output from test runners instead of setting it only once.
Status::ERROR, Status::FATAL, Status::DEBUG have been removed to be inline with the major Java test-frameworks (JUnit and TestNG). The following are the current options:
- Info
- Pass
- Warning
- Skip
- Fail
Reporter::enableTimeline renamed to Reporter::setTimelineEnabled.
Copyright (c) 2020 ExtentReports - Licensed under Apache-2.0