Sha256: 752198f26c75cf705ecda97f8e9cc260c0e9dc9f321795b7ba3bc3254d5c0b35

Contents?: true

Size: 837 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
aruba-0.3.3 features/flushing.feature
aruba-0.3.2 features/flushing.feature
aruba-0.3.1 features/flushing.feature
aruba-0.3.0 features/flushing.feature
aruba-0.2.8 features/flushing.feature
aruba-0.2.7 features/flushing.feature