features/reports/yaml.feature in reek-3.6.1 vs features/reports/yaml.feature in reek-3.7.0
- old
+ new
@@ -26,28 +26,31 @@
- 4
- 5
message: calls @foo.bar 2 times
name: "@foo.bar"
count: 2
+ wiki_link: https://github.com/troessner/reek/blob/master/docs/Duplicate-Method-Call.md
- smell_category: Duplication
smell_type: DuplicateMethodCall
source: smelly.rb
context: Smelly#m
lines:
- 4
- 5
message: calls puts(@foo.bar) 2 times
name: puts(@foo.bar)
count: 2
+ wiki_link: https://github.com/troessner/reek/blob/master/docs/Duplicate-Method-Call.md
- smell_category: UncommunicativeName
smell_type: UncommunicativeMethodName
source: smelly.rb
context: Smelly#m
lines:
- 3
message: has the name 'm'
name: m
+ wiki_link: https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Method-Name.md
"""
Scenario: Indicate smells and print them as yaml when using STDIN
When I pass "class Turn; end" to reek --format yaml
Then the exit status indicates smells
@@ -60,6 +63,7 @@
context: Turn
lines:
- 1
message: has no descriptive comment
name: Turn
+ wiki_link: https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md
"""