Sha256: 27e0bca9ff3d68c28bd29b148b045956584f695dd2ae94fa6e617a1dd8a1db4e

Contents?: true

Size: 837 Bytes

Versions: 28

Compression:

Stored size: 837 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 `ruby -e 'puts :a.to_s * 256'`
    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 `ruby -e 'puts :a.to_s * 65536'`
    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 `ruby -e 'len = gets.chomp; puts :a.to_s * len.to_i'` 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

28 entries across 28 versions & 5 rubygems

Version Path
aruba-0.5.0 features/flushing.feature
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/aruba-0.4.11/features/flushing.feature
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/aruba-0.4.11/features/flushing.feature
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/aruba-0.4.11/features/flushing.feature
ftl-0.2.0 vendor/bundle/gems/aruba-0.4.11/features/flushing.feature
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/aruba-0.4.11/features/flushing.feature
aruba-0.4.11 features/flushing.feature
aruba-0.4.10 features/flushing.feature
aruba-0.4.9 features/flushing.feature
aruba-0.4.8 features/flushing.feature
rjobs-0.3.3.alpha vendor/aruba-0.4.7/features/flushing.feature
rjobs-0.3.2.alpha vendor/aruba-0.4.7/features/flushing.feature
rjobs-0.3.1.alpha vendor/aruba-0.4.7/features/flushing.feature
rjobs-0.3.0.alpha vendor/aruba-0.4.7/features/flushing.feature
rjobs-0.2.0.alpha vendor/aruba-0.4.7/features/flushing.feature
rjobs-0.1.0.alpha vendor/aruba-0.4.7/features/flushing.feature
aruba-0.4.7 features/flushing.feature
aruba-0.4.6 features/flushing.feature
aruba-0.4.5 features/flushing.feature
aruba-0.4.4 features/flushing.feature