Sha256: f328734aee32e0c883c8a1425eef096e41e0a92f729e5bc8a5c68be02a893867

Contents?: true

Size: 1.57 KB

Versions: 25

Compression:

Stored size: 1.57 KB

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:
        [3]:BooleanParameter: Dirty#awful has boolean parameter 'log' [https://github.com/troessner/reek/blob/master/docs/Boolean-Parameter.md]
        [1]:IrresponsibleModule: Dirty has no descriptive comment [https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md]
        [3]:LongParameterList: Dirty#awful has 4 parameters [https://github.com/troessner/reek/blob/master/docs/Long-Parameter-List.md]
        [3]:UncommunicativeParameterName: Dirty#awful has the parameter name 'x' [https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Parameter-Name.md]
        [5]:UncommunicativeVariableName: Dirty#awful has the variable name 'w' [https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Variable-Name.md]
        [3]:UnusedParameters: Dirty#awful has unused parameter 'log' [https://github.com/troessner/reek/blob/master/docs/Unused-Parameters.md]
        [3]:UnusedParameters: Dirty#awful has unused parameter 'offset' [https://github.com/troessner/reek/blob/master/docs/Unused-Parameters.md]
        [3]:UnusedParameters: Dirty#awful has unused parameter 'y' [https://github.com/troessner/reek/blob/master/docs/Unused-Parameters.md]
      """

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
reek-4.2.3 features/command_line_interface/basic_usage.feature
reek-4.2.2 features/command_line_interface/basic_usage.feature
reek-4.2.1 features/command_line_interface/basic_usage.feature
reek-4.2.0 features/command_line_interface/basic_usage.feature
reek-4.1.1 features/command_line_interface/basic_usage.feature
reek-4.1.0 features/command_line_interface/basic_usage.feature
reek-4.0.5 features/command_line_interface/basic_usage.feature
reek-4.0.4 features/command_line_interface/basic_usage.feature
reek-4.0.3 features/command_line_interface/basic_usage.feature
reek-4.0.2 features/command_line_interface/basic_usage.feature
reek-4.0.1 features/command_line_interface/basic_usage.feature
reek-4.0.0 features/command_line_interface/basic_usage.feature
reek-4.0.0.pre1 features/command_line_interface/basic_usage.feature
reek-3.11 features/command_line_interface/basic_usage.feature
reek-3.10.2 features/command_line_interface/basic_usage.feature
reek-3.10.1 features/command_line_interface/basic_usage.feature
reek-3.10.0 features/command_line_interface/basic_usage.feature
reek-3.9.1 features/command_line_interface/basic_usage.feature
reek-3.9.0 features/command_line_interface/basic_usage.feature
reek-3.8.3 features/command_line_interface/basic_usage.feature