Cucumber
Cucumber is a testing framework for all.
Enabling XML Output
Cucumber has built in support for producing JUnit compatible XML output. It can be enabled from the command line with the --format
command line option. To generate the report file at output/report.xml
use a command line like this:
Test Suite Naming
Cucumber's JUnit report formatter has limited configuration, but it does let you set the testsuite
s name
attribute. You can set it in the config file or on the command line like this:
The --format-options
setting must be JSON that is escaped using single quotes. For more details see the Cucumber Reporting documentation.
Last updated