Sha256: 59d968c06aac42754f283360726d39f3bc9ed36cce6b98f13e612d0eb97f8a7e

Contents?: true

Size: 812 Bytes

Versions: 1

Compression:

Stored size: 812 Bytes

Contents

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

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

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

  Scenario: run warder with disabled code smells option on invalid file
    Given I have invalid_code_smells file in directory
    When I run `warder --no-code-smells`
    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_smells.feature