Sha256: e905d135f367c02d0a1be6f8d382cb92c969f89a2286ec1af3108cd2c931bd26

Contents?: true

Size: 1.35 KB

Versions: 7

Compression:

Stored size: 1.35 KB

Contents

Feature: checks for all issues
  In order to find all issues
  As a ruby developer
  I want to run warder with --all option

  Scenario: run warder with enabled all option
    Given I have valid_rails_app project in directory
    And I am on project directory
    When I run `warder --all`
    Then warder detects style guide issues
    Then warder detects magick numbers issues
    Then warder detects code complexity issues
    Then warder detects code duplication issues
    Then warder detects code smells issues
    Then warder detects sandi rules violations
    Then warder detects rails best practices issues
    Then warder detects rails security issues
    Then warder detects gem freshness issues
    Then the exit status should be 0

  Scenario: run warder with enabled rails option on invalid project
    Given I have invalid_rails_app project in directory
    And I am on project directory
    When I run `warder --all`
    Then warder detects style guide issues
    Then warder detects magick numbers issues
    Then warder detects code complexity issues
    Then warder detects code duplication issues
    Then warder detects code smells issues
    Then warder detects sandi rules violations
    Then warder detects rails best practices issues
    Then warder detects rails security issues
    Then warder detects gem freshness issues
    Then the exit status should be 9

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
warder-0.2.3 features/checks_for_all_issues.feature
warder-0.2.2 features/checks_for_all_issues.feature
warder-0.2.1 features/checks_for_all_issues.feature
warder-0.2.0 features/checks_for_all_issues.feature
warder-0.1.9 features/checks_for_all_issues.feature
warder-0.1.8 features/checks_for_all_issues.feature
warder-0.1.7 features/checks_for_all_issues.feature