Feature: Correctly formatted reports In order to get the most out of Reek As a developer I want to be able to parse Reek's output simply and consistently Scenario Outline: two reports run together with indented smells Given a directory called 'smelly' containing two smelly files When I run reek Then the exit status indicates smells And it reports: """ smelly/dirty_one.rb -- 2 warnings: [1]:IrresponsibleModule: Dirty has no descriptive comment [https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md] [2]:UncommunicativeMethodName: Dirty#a has the name 'a' [https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Method-Name.md] smelly/dirty_two.rb -- 3 warnings: [1]:IrresponsibleModule: Dirty has no descriptive comment [https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md] [2]:UncommunicativeMethodName: Dirty#a has the name 'a' [https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Method-Name.md] [3]:UncommunicativeMethodName: Dirty#b has the name 'b' [https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Method-Name.md] 5 total warnings """ Examples: | args | | smelly/dirty_one.rb smelly/dirty_two.rb | | smelly | Scenario Outline: No sorting (which means report each file as it is read in) Given a directory called 'smelly' containing two smelly files When I run reek