Sha256: 4f2ee2700547bebb33cf960cf4ef1276591cb3877e70fb8aececabf42f97d908
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
@reports 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: two reports run together with indented smells When I run reek spec/samples/two_smelly_files/*.rb Then it fails with exit status 2 And it reports: """ spec/samples/two_smelly_files/dirty_one.rb -- 6 warnings: Dirty has the variable name '@s' (Uncommunicative Name) Dirty#a calls @s.title multiple times (Duplication) Dirty#a calls puts(@s.title) multiple times (Duplication) Dirty#a has the name 'a' (Uncommunicative Name) Dirty#a/block has the variable name 'x' (Uncommunicative Name) Dirty#a/block/block is nested (Nested Iterators) spec/samples/two_smelly_files/dirty_two.rb -- 6 warnings: Dirty has the variable name '@s' (Uncommunicative Name) Dirty#a calls @s.title multiple times (Duplication) Dirty#a calls puts(@s.title) multiple times (Duplication) Dirty#a has the name 'a' (Uncommunicative Name) Dirty#a/block has the variable name 'x' (Uncommunicative Name) Dirty#a/block/block is nested (Nested Iterators) """ Scenario: good files show headers consecutively When I run reek spec/samples/three_clean_files/*.rb Then it succeeds And it reports: """ spec/samples/three_clean_files/clean_one.rb -- 0 warnings spec/samples/three_clean_files/clean_three.rb -- 0 warnings spec/samples/three_clean_files/clean_two.rb -- 0 warnings """
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kevinrutherford-reek-1.1.3.7 | features/reports.feature |
kevinrutherford-reek-1.1.3.8 | features/reports.feature |
kevinrutherford-reek-1.1.3.9 | features/reports.feature |