Sha256: 482ae4e9dff31c268f1f9beae89ba8d58c8de4cd825aa065c1ee5179c29c712c

Contents?: true

Size: 653 Bytes

Versions: 8

Compression:

Stored size: 653 Bytes

Contents

Feature: Overriding current rules by specifying new configuration values
  In order to customize Reek to suit my needs
  As a developer
  I want to be able to override the default configuration values

  Scenario: List of configuration values is overridden by a lower configuration file
    Given a file with smelly variable names called 'camel_case.rb'
    And a configuration file allowing camel case variables
    When I run reek camel_case.rb
    Then the exit status indicates smells
    And it reports:
      """
      camel_case.rb -- 1 warning:
        [9]:CamelCase#initialize has the variable name 'x1' (UncommunicativeVariableName)
      """

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reek-3.0.4 features/configuration_files/overrides_defaults.feature
reek-3.0.3 features/configuration_files/overrides_defaults.feature
reek-3.0.2 features/configuration_files/overrides_defaults.feature
reek-3.0.1 features/configuration_files/overrides_defaults.feature
reek-3.0.0 features/configuration_files/overrides_defaults.feature
reek-2.2.1 features/configuration_files/overrides_defaults.feature
reek-2.2.0 features/configuration_files/overrides_defaults.feature
reek-2.1.0 features/configuration_files/overrides_defaults.feature