Closed MadhuQAAutomation closed 1 year ago
@prashant-ramcharan - Hi - Can you provide an update on this issue?
You are overriding the cucumber.plugin
and only specifying the json plugin and as a result you will not get a html report.
Have you tried this?
This will create a json
and html
cucumber report in the reports
directory
-Dcucumber.plugin="json:reports/cucumber/json/cucumber.json,html:reports/cucumber/html/cucumber.html"
It worked ..Thanks!!
On Fri, Jan 20, 2023 at 1:41 AM Prashant Ramcharan @.***> wrote:
You are overriding the cucumber.plugin and only specifying the json plugin and as a result you will not get a html report.
Have you tried this?
This will create a json and html cucumber report in the reports directory
-Dcucumber.plugin="json:reports/cucumber/json/cucumber.json,html:reports/cucumber/html/cucumber.html"
— Reply to this email directly, view it on GitHub https://github.com/prashant-ramcharan/courgette-jvm/issues/368#issuecomment-1397538863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIEGE6DQB2PKDUEBP5SBW3WTGNW5ANCNFSM6AAAAAAT3WMUBA . You are receiving this because you authored the thread.Message ID: @.***>
Hi @prashant-ramcharan - Cucumber HTML report is not generated when we run the test from command line by overriding the plugin - mvn test -Dcourgette.threads=1 -Dcourgette.runLevel=FEATURE -Dcourgette.rerunFailedScenarios=false -Dcucumber.plugin="json:reports/cucumber/json/cucumber.json"
When we run the below command without overriding the plugin tag , then the cucumber HTML report is created
mvn test -Dcourgette.threads=1 -Dcourgette.runLevel=FEATURE -Dcourgette.rerunFailedScenarios=false"
Can you let me know if any config is missing for this behavior.
Thanks!