0

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

Ranjith's
  • 4,508
  • 5
  • 24
  • 40

1 Answers1

1

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"