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-6.0.3 features/command_line_interface/smell_selection.feature
reek-6.0.2 features/command_line_interface/smell_selection.feature
reek-6.0.1 features/command_line_interface/smell_selection.feature
reek-6.0.0 features/command_line_interface/smell_selection.feature
reek-5.6.0 features/command_line_interface/smell_selection.feature
reek-5.5.0 features/command_line_interface/smell_selection.feature
reek-5.4.1 features/command_line_interface/smell_selection.feature
reek-5.4.0 features/command_line_interface/smell_selection.feature
reek-5.3.2 features/command_line_interface/smell_selection.feature
reek-5.3.1 features/command_line_interface/smell_selection.feature
reek-5.3.0 features/command_line_interface/smell_selection.feature
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/command_line_interface/smell_selection.feature
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/command_line_interface/smell_selection.feature
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/command_line_interface/smell_selection.feature
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/features/command_line_interface/smell_selection.feature
reek-5.2.0 features/command_line_interface/smell_selection.feature
reek-5.1.0 features/command_line_interface/smell_selection.feature
reek-5.0.2 features/command_line_interface/smell_selection.feature
reek-5.0.1 features/command_line_interface/smell_selection.feature
reek-5.0.0 features/command_line_interface/smell_selection.feature