Sha256: d445450cee9915db232999cfc8d116d98789c9564af5d216132df29487528a59

Contents?: true

Size: 636 Bytes

Versions: 22

Compression:

Stored size: 636 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' [https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Variable-Name.md]
      """

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
reek-4.8.1 features/command_line_interface/smell_selection.feature
reek-4.8.0 features/command_line_interface/smell_selection.feature
reek-4.7.3 features/command_line_interface/smell_selection.feature
reek-4.7.2 features/command_line_interface/smell_selection.feature
reek-4.7.1 features/command_line_interface/smell_selection.feature
reek-4.7.0 features/command_line_interface/smell_selection.feature
reek-4.6.2 features/command_line_interface/smell_selection.feature
reek-4.6.1 features/command_line_interface/smell_selection.feature
reek-4.6.0 features/command_line_interface/smell_selection.feature
reek-4.5.6 features/command_line_interface/smell_selection.feature
reek-4.5.5 features/command_line_interface/smell_selection.feature
reek-4.5.4 features/command_line_interface/smell_selection.feature
reek-4.5.3 features/command_line_interface/smell_selection.feature
reek-4.5.2 features/command_line_interface/smell_selection.feature
reek-4.5.1 features/command_line_interface/smell_selection.feature
reek-4.5.0 features/command_line_interface/smell_selection.feature
reek-4.4.2 features/command_line_interface/smell_selection.feature
reek-4.4.1 features/command_line_interface/smell_selection.feature
reek-4.4.0 features/command_line_interface/smell_selection.feature
reek-4.3.0 features/command_line_interface/smell_selection.feature