Sha256: 12ae1dc5623f1d53253c1d841d610175a4e3c12c4e8f6cb6793723e747ead471

Contents?: true

Size: 920 Bytes

Versions: 5

Compression:

Stored size: 920 Bytes

Contents

Feature: Flushing output

  In order to test processes that output a lot of data
  As a developer using Aruba
  I want to make sure that large amounts of output aren't buffered

  Scenario: A little output
    When I run `bash -c 'for ((c=0; c<256; c = c+1)); do echo -n "a"; done'`
    Then the output should contain "a"
    And the output should be 256 bytes long
    And the exit status should be 0

  Scenario: Tons of output
    When I run `bash -c 'for ((c=0; c<65536; c = c+1)); do echo -n "a"; done'`
    Then the output should contain "a"
    And the output should be 65536 bytes long
    And the exit status should be 0

  Scenario: Tons of interactive output
    When I run `bash -c 'read size; for ((c=0; c<$size; c = c+1)); do echo -n "a"; done'` interactively
    And I type "65536"
    Then the output should contain "a"
    And the output should be 65536 bytes long
    # And the exit status should be 0

Version data entries

5 entries across 5 versions & 2 rubygems

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