Sha256: ebbd5b335d50952c22295c68cde7e1ac82e0239214d40d04700b8c3a631628b6

Contents?: true

Size: 576 Bytes

Versions: 5

Compression:

Stored size: 576 Bytes

Contents

Feature: Smell selection
  In order to focus on particular code smells
  As a developer
  I want to be able to selectively activate smell detectors

  Scenario: --smell selects a smell to detect
    Given a smelly file called 'smelly.rb'
    And a configuration file masking some duplication smells called 'config.reek'
    When I run reek --no-line-numbers --smell UncommunicativeMethodName smelly.rb
    Then the exit status indicates smells
    And it reports:
      """
      smelly.rb -- 1 warning:
        Smelly#m has the name 'm' (UncommunicativeMethodName)
      """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reek-3.6.1 features/command_line_interface/smell_selection.feature
reek-3.6.0 features/command_line_interface/smell_selection.feature
reek-3.5.0 features/command_line_interface/smell_selection.feature
reek-3.4.1 features/command_line_interface/smell_selection.feature
reek-3.4.0 features/command_line_interface/smell_selection.feature