Sha256: 7686a2ca1b0992f548c384a0aa204181c7c2eb3a45e32561cad0801b7e9020ad

Contents?: true

Size: 638 Bytes

Versions: 9

Compression:

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aruba-0.2.4 features/exit_statuses.feature
aruba-0.2.3 features/exit_statuses.feature
aruba-0.2.2 features/exit_statuses.feature
aruba-0.2.1 features/exit_statuses.feature
aruba-0.2.0 features/exit_statuses.feature
aruba-0.1.9 features/exit_statuses.feature
aruba-0.1.8 features/exit_statuses.feature
aruba-0.1.7 features/exit_statuses.feature
aruba-0.1.6 features/exit_statuses.feature