Sha256: 2f03e2c8ea48ad9ca12f0a800c15df07a1d5a400ddbf11729e01d41dfe1bf312

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 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: Handle a large STDOUT data stream
    #When I run "ruby -e \" 500.times.each { |i| puts %Q(rword #{i+1} ) * 6 }\""
    When I run "ruby -e \" 1500.times { puts %Q(rword ) * 12 }\""
    Then the stdout should contain "rword"


  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 65537 bytes long


  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 65537 bytes long

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aruba-jbb-0.2.6.8 features/flushing.feature
aruba-jbb-0.2.6.7 features/flushing.feature