CucumberCommand constructor

CucumberCommand()

Creates a new instance of CucumberCommand.

Configures the command-line argument parser to accept:

  • --flavor: Environment flavor for testing
  • --morpheme-yaml: Path to morpheme.yaml configuration
  • --generate-l10n: Flag to generate localization files
  • --device-id: Target device for integration testing

Implementation

CucumberCommand() {
  argParser.addOptionFlavor(defaultsTo: Constants.dev);
  argParser.addOptionMorphemeYaml();
  argParser.addFlagGenerateL10n();
  argParser.addOptionDeviceId();
}