Sha256: 5a4f8628a4309dc2f980092fcb87824c0f828b58e0f48968b88e0800944623e4
Contents?: true
Size: 1.84 KB
Versions: 2
Compression:
Stored size: 1.84 KB
Contents
Feature: Output In order to specify expected output As a developer using Cucumber I want to use the "I should see" step Scenario: Detect subset of one-line output When I run "ruby -e 'puts \"hello world\"'" Then I should see "hello world" Scenario: Detect subset of one-line output When I run "echo 'hello world'" Then I should see "hello world" Scenario: Detect absence of one-line output When I run "ruby -e 'puts \"hello world\"'" Then I should not see "good-bye" Scenario: Detect subset of multiline output When I run "ruby -e 'puts \"hello\\nworld\"'" Then I should see: """ hello """ Scenario: Detect subset of multiline output When I run "ruby -e 'puts \"hello\\nworld\"'" Then I should not see: """ good-bye """ Scenario: Detect exact one-line output When I run "ruby -e 'puts \"hello world\"'" Then I should see exactly "hello world\n" Scenario: Detect exact multiline output When I run "ruby -e 'puts \"hello\\nworld\"'" Then I should see exactly: """ hello world """ @announce Scenario: Match passing exit status and partial output When I run "ruby -e 'puts \"hello\\nworld\"'" Then it should pass with: """ hello """ @announce-stdout Scenario: Match failing exit status and partial output When I run "ruby -e 'puts \"hello\\nworld\";exit 99'" Then it should fail with: """ hello """ @announce-cmd Scenario: Match output in stdout When I run "ruby -e 'puts \"hello\\nworld\"'" Then the stdout should contain "hello" Then the stderr should not contain "hello" Scenario: Match output in stderr When I run "ruby -e 'STDERR.puts \"hello\\nworld\";exit 99'" Then the stderr should contain "hello" Then the stdout should not contain "hello"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aruba-0.1.6 | features/output.feature |
aruba-0.1.5 | features/output.feature |