I'm using courgette-jvm
to run tests in parallel but in the reports I want to include project name, version and environmental details...
Is there any possible way to include these in courgette/cucumber reports.
Any help much appreciated.
Thanks
I'm using courgette-jvm
to run tests in parallel but in the reports I want to include project name, version and environmental details...
Is there any possible way to include these in courgette/cucumber reports.
Any help much appreciated.
Thanks
You can provide these details by hard coding it into your Courgette runner or by passing it via system properties.
Update your Courgette runner to include:
@RunWith(Courgette.class)
@CourgetteOptions(
...
reportTitle = "Your project name"
environmentInfo = "browser=chrome; git_branch=master"
)
or pass it via system properties:
-Dcourgette.reportTitle="Your project name"
-Dcourgette.environmentInfo="browser=chrome; git_branch=master"