Sha256: a8e012be2547f0167a19be5be92f13c2f7aa40a0c2c26d90937a80bfce32419f

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

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

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

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

  Scenario: run warder with enabled style guide option on valid file only
    Given I have valid file in directory
    And I have invalid_style_guide file in directory
    When I run `warder --style-guide valid.rb`
    Then warder does nothing
    Then the exit status should be 0

  Scenario: run warder with disabled style guide option on invalid file
    Given I have invalid_style_guide file in directory
    When I run `warder --no-style-guide`
    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_ruby_style_guide.feature
warder-0.3.1 features/validates_ruby_style_guide.feature
warder-0.3.0 features/validates_ruby_style_guide.feature
warder-0.2.4 features/validates_ruby_style_guide.feature