Sha256: db6b192adb916277ca89c034feb1ea7c742ec71482779220f829cd6575c8ad51

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 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: 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

  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aruba-0.2.5 features/flushing.feature