Sha256: 29f3dca55ae415e62933ee2d9dcfc774c4205c3a1a3b051ee1693147e66170c0

Contents?: true

Size: 550 Bytes

Versions: 21

Compression:

Stored size: 550 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 the smelly file 'smelly.rb'
    And a configuration file 'partial_mask.reek'
    When I run reek --no-line-numbers --smell UncommunicativeVariableName smelly.rb
    Then the exit status indicates smells
    And it reports:
      """
      smelly.rb -- 1 warning:
        UncommunicativeVariableName: Smelly#x has the variable name 'y'
      """

Version data entries

21 entries across 19 versions & 2 rubygems

Version Path
reek-4.8.2 features/command_line_interface/smell_selection.feature