Sha256: 544286890154cc141f50d1e8829e787d793760b0995b7e848ba791292d9e6bbc

Contents?: true

Size: 989 Bytes

Versions: 3

Compression:

Stored size: 989 Bytes

Contents

Feature: exit statuses

  In order to specify expected exit statuses
  As a developer using Cucumber
  I want to use the "the exit status should be" step

  Scenario: exit status of 0
    When I run `true`
    Then the exit status should be 0

  Scenario: non-zero exit status
    When I run `false`
    Then the exit status should be 1
    And the exit status should not be 0

  Scenario: Successfully run something
    When I successfully run `true`

  Scenario: Successfully run something for a long time
    Given The default aruba timeout is 0 seconds
    When I successfully run `ruby -e 'sleep 1'` for up to 2 seconds

  Scenario: Unsuccessfully run something that takes too long
    Given The default aruba timeout is 0 seconds
    When I do aruba I successfully run `ruby -e 'sleep 1'`
    Then aruba should fail with "process still alive after 0 seconds"

  Scenario: Unsuccessfully run something
    When I do aruba I successfully run `false`
    Then aruba should fail with ""

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/features/exit_statuses.feature
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/features/exit_statuses.feature
aruba-0.5.1 features/exit_statuses.feature