Class Cucumber::Cli::Options
In: lib/cucumber/cli/options.rb
Parent: Object

Constants

BUILTIN_FORMATS = { 'html' => ['Cucumber::Formatter::Html', 'Generates a nice looking HTML report.'], 'pretty' => ['Cucumber::Formatter::Pretty', 'Prints the feature as is - in colours.'], 'pdf' => ['Cucumber::Formatter::Pdf', "Generates a PDF report. You need to have the\n" + "#{' ' * 51}prawn gem installed. Will pick up logo from\n" + "#{' ' * 51}features/support/logo.png or\n" + "#{' ' * 51}features/support/logo.jpg if present."], 'progress' => ['Cucumber::Formatter::Progress', 'Prints one character per scenario.'], 'rerun' => ['Cucumber::Formatter::Rerun', 'Prints failing files with line numbers.'], 'usage' => ['Cucumber::Formatter::Usage', "Prints where step definitions are used.\n" + "#{' ' * 51}The slowest step definitions (with duration) are\n" + "#{' ' * 51}listed first. If --dry-run is used the duration\n" + "#{' ' * 51}is not shown, and step definitions are sorted by\n" + "#{' ' * 51}filename instead."], 'stepdefs' => ['Cucumber::Formatter::Stepdefs', "Prints All step definitions with their locations. Same as\n" + "#{' ' * 51}the usage formatter, except that steps are not printed."], 'junit' => ['Cucumber::Formatter::Junit', 'Generates a report similar to Ant+JUnit.'], 'tag_cloud' => ['Cucumber::Formatter::TagCloud', 'Prints a tag cloud of tag usage.'], 'debug' => ['Cucumber::Formatter::Debug', 'For developing formatters - prints the calls made to the listeners.']
FORMAT_HELP = (BUILTIN_FORMATS.keys.sort.map do |key| " #{key}#{' ' * (max - key.length)} : #{BUILTIN_FORMATS[key][1]}"

[Validate]