Sha256: e09142777104e27b52cd9d6e01551e2d912bae199c20168c082862da899fa189

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

Feature: check coffeescript style guide
  In order to check coffeescript style guide
  As a coffeescript developer
  I want to run warder with --coffee-lint option

  Scenario: run warder with enabled coffee lint option
    Given I have valid_coffee_lint file in directory
    When I run `warder --coffee-lint`
    Then warder detects coffee lint issues
    Then the exit status should be 0

  Scenario: run warder with enabled coffee lint option on invalid file
    Given I have invalid_coffee_lint file in directory
    When I run `warder --coffee-lint`
    Then warder detects coffee lint issues
    Then the exit status should be 1

  Scenario: run warder with enabled coffee lint option on valid file only
    Given I have valid_coffee_lint file in directory
    And I have invalid_coffee_lint file in directory
    When I run `warder --coffee-lint valid_coffee_lint.coffee`
    Then warder does nothing
    Then the exit status should be 0

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
warder-0.3.2 features/validates_coffeescript_style_guide.feature
warder-0.3.1 features/validates_coffeescript_style_guide.feature
warder-0.3.0 features/validates_coffeescript_style_guide.feature
warder-0.2.4 features/validates_coffeescript_style_guide.feature