extentreports-cucumber7-adapter
extentreports-cucumber7-adapter copied to clipboard
Set report path at runtime
Hello, I couldn't find a way to set a dynamic path to my report.
my current understanding is that you have to provide the report under extent.reporter.spark.out=path/to/ExtentSpark.html but for my project to provide a custom path based on the app i'm testing that would be something like {custom}/path/to/ExtentSpark.html is there a way to overwrite this path on runtime ?
I was searching into ExtentService.getInstance().getReport() but I didn't find any method for that works i saw a initSpark() method under the ExtentReportsLoader but it's impossible to access because it's private
Does anybody has a solution for that ?