Skip to content

Instantly share code, notes, and snippets.

@tansaku
Created August 26, 2015 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tansaku/c71c0dc1e46c4a966454 to your computer and use it in GitHub Desktop.
Save tansaku/c71c0dc1e46c4a966454 to your computer and use it in GitHub Desktop.
errors caused by ~/.reek
Failures:
1) Reek::Smells::FeatureEnvy when a smell is reported reports only that smell
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:237:in `block (3 levels) in <top (required)>'
2) Reek::Smells::FeatureEnvy when a smell is reported reports the source
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:241:in `block (3 levels) in <top (required)>'
3) Reek::Smells::FeatureEnvy when a smell is reported reports the smell class
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:245:in `block (3 levels) in <top (required)>'
4) Reek::Smells::FeatureEnvy when a smell is reported reports the smell sub class
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:249:in `block (3 levels) in <top (required)>'
5) Reek::Smells::FeatureEnvy when a smell is reported reports the envious receiver
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:253:in `block (3 levels) in <top (required)>'
6) Reek::Smells::FeatureEnvy when a smell is reported reports the number of references
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:257:in `block (3 levels) in <top (required)>'
7) Reek::Smells::FeatureEnvy when a smell is reported reports the referring lines
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `new'
# ./spec/reek/smells/feature_envy_spec.rb:233:in `block (3 levels) in <top (required)>'
# ./spec/reek/smells/feature_envy_spec.rb:261:in `block (3 levels) in <top (required)>'
8) Reek::Smells::IrresponsibleModule reports a class without a comment
Failure/Error: expect(src).to reek_of :IrresponsibleModule, name: 'BadClass'
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:9:in `block (2 levels) in <top (required)>'
9) Reek::Smells::IrresponsibleModule reports a module without a comment
Failure/Error: expect(src).to reek_of :IrresponsibleModule, name: 'BadClass'
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:14:in `block (2 levels) in <top (required)>'
10) Reek::Smells::IrresponsibleModule reports a class with an empty comment
Failure/Error: expect(src).to reek_of :IrresponsibleModule
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:42:in `block (2 levels) in <top (required)>'
11) Reek::Smells::IrresponsibleModule reports a class with a preceding comment with intermittent material
Failure/Error: expect(src).to reek_of(:IrresponsibleModule)
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:53:in `block (2 levels) in <top (required)>'
12) Reek::Smells::IrresponsibleModule reports a class with a trailing comment
Failure/Error: expect(src).to reek_of(:IrresponsibleModule)
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:61:in `block (2 levels) in <top (required)>'
13) Reek::Smells::IrresponsibleModule reports a fully qualified class name correctly
Failure/Error: expect(src).to reek_of :IrresponsibleModule, name: 'Foo::Bar'
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:66:in `block (2 levels) in <top (required)>'
14) Reek::Smells::IrresponsibleModule reports modules that have both nested modules and methods
Failure/Error: expect(src).to reek_of(:IrresponsibleModule)
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:105:in `block (2 levels) in <top (required)>'
15) Reek::Smells::IrresponsibleModule reports modules that have both nested modules and singleton methods
Failure/Error: expect(src).to reek_of(:IrresponsibleModule)
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:118:in `block (2 levels) in <top (required)>'
16) Reek::Smells::IrresponsibleModule reports modules that have both nested modules and methods on the singleton class
Failure/Error: expect(src).to reek_of(:IrresponsibleModule)
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:133:in `block (2 levels) in <top (required)>'
17) Reek::Smells::IrresponsibleModule reports classes that have a defined superclass
Failure/Error: expect(src).to reek_of(:IrresponsibleModule)
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:152:in `block (2 levels) in <top (required)>'
18) Reek::Smells::IrresponsibleModule reports classes defined through assignment
Failure/Error: expect(src).to reek_of(:IrresponsibleModule, name: 'Foo')
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:162:in `block (2 levels) in <top (required)>'
19) Reek::Smells::IrresponsibleModule reports structs defined through assignment
Failure/Error: expect(src).to reek_of(:IrresponsibleModule, name: 'Foo')
Expected string to reek of IrresponsibleModule, but it didn't
# ./spec/reek/smells/irresponsible_module_spec.rb:172:in `block (2 levels) in <top (required)>'
20) Reek::Smells::UtilityFunction a detector when a smells is reported reports the line number of the method
Failure/Error: Reek::Examiner.new(src, ['UtilityFunction']).smells[0]
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/utility_function_spec.rb:20:in `new'
# ./spec/reek/smells/utility_function_spec.rb:20:in `block (4 levels) in <top (required)>'
# ./spec/reek/smells/utility_function_spec.rb:26:in `block (4 levels) in <top (required)>'
21) Reek::Smells::UtilityFunction a detector when a smells is reported it should behave like common fields set correctly reports the source
Failure/Error: expect(warning.source).to eq(source_name)
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
Shared Example Group: "common fields set correctly" called from ./spec/reek/smells/utility_function_spec.rb:23
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/utility_function_spec.rb:20:in `new'
# ./spec/reek/smells/utility_function_spec.rb:20:in `block (4 levels) in <top (required)>'
# ./spec/reek/smells/smell_detector_shared.rb:32:in `block (2 levels) in <top (required)>'
22) Reek::Smells::UtilityFunction a detector when a smells is reported it should behave like common fields set correctly reports the smell class
Failure/Error: expect(warning.smell_category).to eq(detector.smell_category)
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
Shared Example Group: "common fields set correctly" called from ./spec/reek/smells/utility_function_spec.rb:23
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/utility_function_spec.rb:20:in `new'
# ./spec/reek/smells/utility_function_spec.rb:20:in `block (4 levels) in <top (required)>'
# ./spec/reek/smells/smell_detector_shared.rb:35:in `block (2 levels) in <top (required)>'
23) Reek::Smells::UtilityFunction a detector when a smells is reported it should behave like common fields set correctly reports the smell sub class
Failure/Error: expect(warning.smell_type).to eq(detector.smell_type)
ArgumentError:
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration
Shared Example Group: "common fields set correctly" called from ./spec/reek/smells/utility_function_spec.rb:23
# ./lib/reek/smells/smell_repository.rb:30:in `configure'
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize'
# ./lib/reek/smells/smell_repository.rb:23:in `each'
# ./lib/reek/smells/smell_repository.rb:23:in `initialize'
# ./lib/reek/examiner.rb:73:in `new'
# ./lib/reek/examiner.rb:73:in `run'
# ./lib/reek/examiner.rb:37:in `initialize'
# ./spec/reek/smells/utility_function_spec.rb:20:in `new'
# ./spec/reek/smells/utility_function_spec.rb:20:in `block (4 levels) in <top (required)>'
# ./spec/reek/smells/smell_detector_shared.rb:38:in `block (2 levels) in <top (required)>'
Finished in 1.74 seconds (files took 0.79317 seconds to load)
800 examples, 23 failures, 2 pending
Failed examples:
rspec ./spec/reek/smells/feature_envy_spec.rb:236 # Reek::Smells::FeatureEnvy when a smell is reported reports only that smell
rspec ./spec/reek/smells/feature_envy_spec.rb:240 # Reek::Smells::FeatureEnvy when a smell is reported reports the source
rspec ./spec/reek/smells/feature_envy_spec.rb:244 # Reek::Smells::FeatureEnvy when a smell is reported reports the smell class
rspec ./spec/reek/smells/feature_envy_spec.rb:248 # Reek::Smells::FeatureEnvy when a smell is reported reports the smell sub class
rspec ./spec/reek/smells/feature_envy_spec.rb:252 # Reek::Smells::FeatureEnvy when a smell is reported reports the envious receiver
rspec ./spec/reek/smells/feature_envy_spec.rb:256 # Reek::Smells::FeatureEnvy when a smell is reported reports the number of references
rspec ./spec/reek/smells/feature_envy_spec.rb:260 # Reek::Smells::FeatureEnvy when a smell is reported reports the referring lines
rspec ./spec/reek/smells/irresponsible_module_spec.rb:7 # Reek::Smells::IrresponsibleModule reports a class without a comment
rspec ./spec/reek/smells/irresponsible_module_spec.rb:12 # Reek::Smells::IrresponsibleModule reports a module without a comment
rspec ./spec/reek/smells/irresponsible_module_spec.rb:35 # Reek::Smells::IrresponsibleModule reports a class with an empty comment
rspec ./spec/reek/smells/irresponsible_module_spec.rb:45 # Reek::Smells::IrresponsibleModule reports a class with a preceding comment with intermittent material
rspec ./spec/reek/smells/irresponsible_module_spec.rb:56 # Reek::Smells::IrresponsibleModule reports a class with a trailing comment
rspec ./spec/reek/smells/irresponsible_module_spec.rb:64 # Reek::Smells::IrresponsibleModule reports a fully qualified class name correctly
rspec ./spec/reek/smells/irresponsible_module_spec.rb:95 # Reek::Smells::IrresponsibleModule reports modules that have both nested modules and methods
rspec ./spec/reek/smells/irresponsible_module_spec.rb:108 # Reek::Smells::IrresponsibleModule reports modules that have both nested modules and singleton methods
rspec ./spec/reek/smells/irresponsible_module_spec.rb:121 # Reek::Smells::IrresponsibleModule reports modules that have both nested modules and methods on the singleton class
rspec ./spec/reek/smells/irresponsible_module_spec.rb:148 # Reek::Smells::IrresponsibleModule reports classes that have a defined superclass
rspec ./spec/reek/smells/irresponsible_module_spec.rb:155 # Reek::Smells::IrresponsibleModule reports classes defined through assignment
rspec ./spec/reek/smells/irresponsible_module_spec.rb:165 # Reek::Smells::IrresponsibleModule reports structs defined through assignment
rspec ./spec/reek/smells/utility_function_spec.rb:25 # Reek::Smells::UtilityFunction a detector when a smells is reported reports the line number of the method
rspec ./spec/reek/smells/utility_function_spec.rb[1:1:2:1:1] # Reek::Smells::UtilityFunction a detector when a smells is reported it should behave like common fields set correctly reports the source
rspec ./spec/reek/smells/utility_function_spec.rb[1:1:2:1:2] # Reek::Smells::UtilityFunction a detector when a smells is reported it should behave like common fields set correctly reports the smell class
rspec ./spec/reek/smells/utility_function_spec.rb[1:1:2:1:3] # Reek::Smells::UtilityFunction a detector when a smells is reported it should behave like common fields set correctly reports the smell sub class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment