Sha256: cea4ec16d5322eaf9722cc6e6cc28115566fcd890a2dfb846198cd5c0ae2bd62

Contents?: true

Size: 969 Bytes

Versions: 8

Compression:

Stored size: 969 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 `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 `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

8 entries across 8 versions & 1 rubygems

Version Path
aruba-0.7.4 features/exit_statuses.feature
aruba-0.7.3 features/exit_statuses.feature
aruba-0.7.2 features/exit_statuses.feature
aruba-0.7.1 features/exit_statuses.feature
aruba-0.7.0 features/exit_statuses.feature
aruba-0.6.2 features/exit_statuses.feature
aruba-0.6.1 features/exit_statuses.feature
aruba-0.6.0 features/exit_statuses.feature