Sha256: 250f050ea2e45f99245c16a3659e4f1dfe50f786985e8eaa3fdb0c8face96eb2

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

@options
Feature: Reek can be controlled using command-line options
  In order to change reek's default behaviour
  As a developer
  I want to supply options on the command line

  Scenario: return non-zero status on bad option
    When I run reek --no-such-option
    Then the exit status indicates an error
    And it reports the error "Error: invalid option: --no-such-option"
    And stdout equals ""

  Scenario: display the current version number
    When I run reek --version
    Then it succeeds
    And it reports the current version

  Scenario: display the help information
    When I run reek --help
    Then it succeeds
    And it reports:
      """
      Usage: reek [options] [files]

      Examples:

      reek lib/*.rb
      reek -q lib
      cat my_class.rb | reek

      See http://wiki.github.com/troessner/reek for detailed help.

      Common options:
          -h, --help                       Show this message
          -v, --version                    Show version

      Configuration:
          -c, --config FILE                Read configuration options from FILE

      Report formatting:
          -q, --[no-]quiet                 Suppress headings for smell-free source files
          -y, --yaml                       Report smells in YAML format

      """

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
reek-1.3 features/command_line_interface/options.feature
reek-1.2.13 features/command_line_interface/options.feature
reek-1.2.12 features/command_line_interface/options.feature
reek-1.2.11 features/command_line_interface/options.feature
reek-1.2.10 features/command_line_interface/options.feature
reek-1.2.9 features/command_line_interface/options.feature