Sha256: 3a4c65f9df3418274c281ddfcbd0cb10432bf9781a65a7141189a9102298ffe1
Contents?: true
Size: 1.16 KB
Versions: 9
Compression:
Stored size: 1.16 KB
Contents
Feature: detects code duplication In order to find code duplication As a ruby developer I want to run warder with --code-duplication option Scenario: run warder with enabled code duplication option Given I have valid file in directory When I run `warder --code-duplication` Then warder detects code duplication issues Then the exit status should be 0 Scenario: run warder with enabled code duplication option on invalid file Given I have invalid_code_duplication file in directory When I run `warder --code-duplication` Then warder detects code duplication issues Then the exit status should be 1 Scenario: run warder with enabled code duplication option on valid file only Given I have valid file in directory And I have invalid_code_duplication file in directory When I run `warder --code-duplication valid.rb` Then warder does nothing Then the exit status should be 0 Scenario: run warder with disabled code duplication option on invalid file Given I have invalid_code_duplication file in directory When I run `warder --no-code-duplication` Then warder does nothing Then the exit status should be 0
Version data entries
9 entries across 9 versions & 1 rubygems