Sha256: 2b5c75245169ccb9822f1abe35d8b95965e7e1c59f6dfabff46edf23e7716801

Contents?: true

Size: 671 Bytes

Versions: 18

Compression:

Stored size: 671 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 "ruby -h" without error
    Then the exit status should be 0
    
  Scenario: non-zero exit status
    When I run "ruby -e 'exit 56'" with errors
    Then the exit status should be 56
    And the exit status should not be 0

  Scenario: Successfully run something
    When I run "ruby -e 'exit 0'" without error

  Scenario: Unsuccessfully run something
    When I do aruba I run "ruby -e 'exit 10'" without error step
    Then aruba should fail with "Exit status was 10"

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
aruba-jbb-0.2.7.01 features/exit_statuses.feature
aruba-jbb-0.2.6.14 features/exit_statuses.feature
aruba-jbb-0.2.6.13 features/exit_statuses.feature
aruba-jbb-0.2.6.12 features/exit_statuses.feature
aruba-jbb-0.2.6.11 features/exit_statuses.feature
aruba-jbb-0.2.6.10 features/exit_statuses.feature
aruba-jbb-0.2.6.9 features/exit_statuses.feature
aruba-jbb-0.2.6.8 features/exit_statuses.feature
aruba-jbb-0.2.6.7 features/exit_statuses.feature
aruba-jbb-0.2.6.5 features/exit_statuses.feature
aruba-jbb-0.2.6.4 features/exit_statuses.feature
aruba-jbb-0.2.6.3 features/exit_statuses.feature
aruba-jbb-0.2.6.2 features/exit_statuses.feature
aruba-jbb-0.2.6 features/exit_statuses.feature
aruba-jbb-0.2.5 features/exit_statuses.feature
aruba-jbb-0.2.4 features/exit_statuses.feature
aruba-jbb-0.2.3 features/exit_statuses.feature
aruba-jbb-0.2.2 features/exit_statuses.feature