Sha256: 41bc2a57e607b5c182cd7353ab49d4798dc0fb942985008dd13d6fe738290f69

Contents?: true

Size: 991 Bytes

Versions: 8

Compression:

Stored size: 991 Bytes

Contents

Feature: Styleguide apiary.apib on docs.API_NAME.apiary.io

  # This is integration testing you have to set APIARY_API_KEY
  @needs_apiary_api_key
  Scenario: Styleguide validation - pass

    When I run `apiary  styleguide --functions=../../features/support --rules=../../features/support --add=../../features/support --full_report`
    Then the output should match /(PASSED)/
    And the exit status should be 0

  @needs_apiary_api_key
  Scenario: Styleguide validation - fail

    When I run `apiary  styleguide --functions=../../features/support/functions-fail.js --rules=../../features/support --add=../../features/support --full_report`
    Then the output should match /(FAILED)/
    And the exit status should be 1

  # This is integration testing you have to set APIARY_API_KEY
  @needs_apiary_api_key
  Scenario: Styleguide fetch

    When I run `apiary  styleguide --fetch`
    Then the output should match /(has beed succesfully created)/
    And  the exit status should be 0


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
apiaryio-0.14.1 features/styleguide.feature
apiaryio-0.14.0 features/styleguide.feature
apiaryio-0.13.0 features/styleguide.feature
apiaryio-0.12.0 features/styleguide.feature
apiaryio-0.11.1 features/styleguide.feature
apiaryio-0.11.0 features/styleguide.feature
apiaryio-0.10.2 features/styleguide.feature
apiaryio-0.10.1 features/styleguide.feature