Sha256: 6d0bc9501e078d572123641189610686c0e02a9fa9f66ef09c30b1b26fe4d521

Contents?: true

Size: 914 Bytes

Versions: 4

Compression:

Stored size: 914 Bytes

Contents

Feature: The Reek API maintains backwards compatibility
  In order to use Reek without fuss
  As a developer
  I want to have a stable API

  Scenario: the demo example reports as expected
    When I run reek spec/samples/demo
    Then the exit status indicates smells
    And it reports:
      """
      spec/samples/demo/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)
        [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 'x' (UnusedParameters)
        [3]:Dirty#awful has unused parameter 'y' (UnusedParameters)
      """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reek-2.0.4 features/ruby_api/api.feature
reek-2.0.3 features/ruby_api/api.feature
reek-2.0.2 features/ruby_api/api.feature
reek-2.0.1 features/ruby_api/api.feature