Sha256: 1c4fed7e4fe9fd38150cd8b0b1bf3b4c53fbd915c7b0825925f79e018b2a8f91

Contents?: true

Size: 890 Bytes

Versions: 1

Compression:

Stored size: 890 Bytes

Contents

Feature: detects code duplications
  In order to find code duplications
  As a ruby developer
  I want to run warder with --code-duplications option

  Scenario: run warder with enabled code duplications option
    Given I have valid file in directory
    When I run `warder --code-duplications`
    Then warder detects code duplications
    Then the exit status should be 0

  Scenario: run warder with enabled code duplications option on invalid file
    Given I have invalid_code_duplications file in directory
    When I run `warder --code-duplications`
    Then warder detects code duplications
    Then the exit status should be 1

  Scenario: run warder with disabled code duplications option on invalid file
    Given I have invalid_code_duplications file in directory
    When I run `warder --no-code-duplications`
    Then warder does nothing
    Then the exit status should be 0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
warder-0.0.5 features/detects_code_duplications.feature