-
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. This document details all the breaking changes on a version 4.0 to 5.0 upgrade path. If you encounter any change other than the ones listed here, please file an issue here.
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