Sha256: 0aea7de7e6699549200dbdb41b977d87fc17297cfe7a7adb324947f83353293d

Contents?: true

Size: 992 Bytes

Versions: 15

Compression:

Stored size: 992 Bytes

Contents

Feature: The Reek CLI maintains backwards compatibility
  In order to use Reek without fuss
  As a developer
  I want to have a stable basic command line interface

  Scenario: the demo example reports as expected
    Given the smelly file 'demo.rb' from the example in the README
    When I run reek demo.rb
    Then the exit status indicates smells
    And it reports:
      """
      demo.rb -- 8 warnings:
        [1]:Dirty has no descriptive comment (IrresponsibleModule)
        [3]:Dirty#awful has 4 parameters (LongParameterList)
        [3]:Dirty#awful has boolean parameter 'log' (BooleanParameter)
        [3]:Dirty#awful has the parameter name 'x' (UncommunicativeParameterName)
        [5]:Dirty#awful has the variable name 'w' (UncommunicativeVariableName)
        [3]:Dirty#awful has unused parameter 'log' (UnusedParameters)
        [3]:Dirty#awful has unused parameter 'offset' (UnusedParameters)
        [3]:Dirty#awful has unused parameter 'y' (UnusedParameters)
      """

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
reek-3.6.1 features/command_line_interface/basic_usage.feature
reek-3.6.0 features/command_line_interface/basic_usage.feature
reek-3.5.0 features/command_line_interface/basic_usage.feature
reek-3.4.1 features/command_line_interface/basic_usage.feature
reek-3.4.0 features/command_line_interface/basic_usage.feature
reek-3.3.1 features/command_line_interface/basic_usage.feature
reek-3.3.0 features/command_line_interface/basic_usage.feature
reek-3.2.1 features/command_line_interface/basic_usage.feature
reek-3.2 features/command_line_interface/basic_usage.feature
reek-3.1 features/command_line_interface/basic_usage.feature
reek-3.0.4 features/command_line_interface/basic_usage.feature
reek-3.0.3 features/command_line_interface/basic_usage.feature
reek-3.0.2 features/command_line_interface/basic_usage.feature
reek-3.0.1 features/command_line_interface/basic_usage.feature
reek-3.0.0 features/command_line_interface/basic_usage.feature