Sha256: a235016bf46b1833e5bbacfc7a0ceaf9316d37d5ea628632775c6ab0ebf30964

Contents?: true

Size: 801 Bytes

Versions: 5

Compression:

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/aruba-0.2.6/features/flushing.feature
vim-jar-0.1.2 bundler/ruby/1.8/gems/aruba-0.2.6/features/flushing.feature
vim-jar-0.1.1 bundler/ruby/1.8/gems/aruba-0.2.6/features/flushing.feature
vim-jar-0.1.0 bundler/ruby/1.8/gems/aruba-0.2.6/features/flushing.feature
aruba-0.2.6 features/flushing.feature