0
Is there any way to rename and move an Extent Report after the tests are finished? I would like the name to be saved dynamically at the end of each execution, adding for example the date and time of execution. Currently it creates with the name Extentreport.html and always overwrites the previous report.
@CucumberOptions(features = "src/test/resources/features/",
plugin = { "pretty",
"com.cucumber.listener.ExtentCucumberFormatter:src/test/resources/relatorios/ExtentReport.html",
"html:src/test/resources/relatorios/cucumber-reports/",
"json:src/test/resources/relatorios/cucumber-reports/cucumber.json",
"junit:src/test/resources/relatorios/cucumber-reports/cucumber-reports/Cucumber.xml" },
Thank you in advance!