Sha256: 822e57646806e635c416ad931b404c9648df30ac71bf735d164867e992ed63df

Contents?: true

Size: 992 Bytes

Versions: 13

Compression:

Stored size: 992 Bytes

Contents

Feature: checks for Sandi Metz rules violations
  In order to find Sandi Metz rules violations
  As a ruby developer
  I want to run warder with --sandi-rules option

  Scenario: run warder with enabled sandi rules option
    Given I have valid_rails_app project in directory
    And I am on project directory
    When I run `warder --sandi-rules`
    Then warder detects sandi rules violations
    Then the exit status should be 0

  Scenario: run warder with enabled sandi rules option on invalid project
    Given I have invalid_rails_app project in directory
    And I am on project directory
    When I run `warder --sandi-rules`
    Then warder detects sandi rules violations
    Then the exit status should be 1

  Scenario: run warder with disabled sandi rules option on invalid project
    Given I have invalid_rails_app project in directory
    And I am on project directory
    When I run `warder --no-sandi-rules`
    Then warder does nothing
    Then the exit status should be 0

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
warder-0.3.2 features/checks_for_sandi_metz_rules.feature
warder-0.3.1 features/checks_for_sandi_metz_rules.feature
warder-0.3.0 features/checks_for_sandi_metz_rules.feature
warder-0.2.4 features/checks_for_sandi_metz_rules.feature
warder-0.2.3 features/checks_for_sandi_metz_rules.feature
warder-0.2.2 features/checks_for_sandi_metz_rules.feature
warder-0.2.1 features/checks_for_sandi_metz_rules.feature
warder-0.2.0 features/checks_for_sandi_metz_rules.feature
warder-0.1.9 features/checks_for_sandi_metz_rules.feature
warder-0.1.8 features/checks_for_sandi_metz_rules.feature
warder-0.1.7 features/checks_for_sandi_metz_rules.feature
warder-0.1.6 features/checks_for_sandi_metz_rules.feature
warder-0.1.5 features/checks_for_sandi_metz_rules.feature