Open sandeepmknair opened 5 years ago
It should pick up the properties file from "src/test/resources". Can you try again?
Closing as there has been no response. Please reopen if you still encounter this issue with the latest release.
Following to this questions, is there any ways to configure to pick up from other folders apart from "src/test/resource" ?
The locations are coded in the source itself. Check this https://github.com/extent-framework/extentreports-cucumber4-adapter/blob/75b01cf2de9781b4894c779579ad443c9a427cd4/src/main/java/com/aventstack/extentreports/service/ExtentService.java#L48
Do not think there is a way to configure a specific folder. A 'not so good' workaround could be to pass the key-value in the command itself. Maybe worthwhile if you create one reporter only, need to pass start, config and out key-value pairs.
The issue with config is it should be available right when the Service loads so it knows which components to setup for use. I can add a convenience method to allow this after the instance has been created to which you can supply the properties path. To better understand this, can you specify where you can storing the properties file?
Hi Anshoo,
Thank you so much for your great work.This really helped our project to go furher. My problem is If I want to create a directory under resources and place extent.properties it is not working.Could you please tell me how to configure the path of extent.properties?