[DRE-commits] [ruby-aruba] 61/74: Moved flushing to output

Hideki Yamane henrich at moszumanska.debian.org
Sat Nov 28 01:16:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-aruba.

commit 374bef13a2496f26bf085e86e12f9d8af115a653
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date:   Fri Nov 27 09:09:07 2015 +0100

    Moved flushing to output
---
 features/commands/flushing.feature | 74 --------------------------------------
 1 file changed, 74 deletions(-)

diff --git a/features/commands/flushing.feature b/features/commands/flushing.feature
deleted file mode 100644
index dfefd67..0000000
--- a/features/commands/flushing.feature
+++ /dev/null
@@ -1,74 +0,0 @@
-Feature: Flushing the output of your application
-
-  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
-
-  Background:
-    Given I use a fixture named "cli-app"
-
-  Scenario: A little output
-    Given an executable named "bin/cli" with:
-    """bash
-    #!/usr/bin/env bash
-
-    for ((c=0; c<256; c = c+1)); do 
-      echo -n "a"
-    done
-    """
-    And a file named "features/flushing.feature" with:
-    """cucumber
-    Feature: Flushing output
-      Scenario: Run command
-        When I run `cli`
-        Then the output should contain "a"
-        And the output should be 256 bytes long
-        And the exit status should be 0
-    """
-    When I run `cucumber`
-    Then the features should all pass
-
-  Scenario: Tons of output
-    Given the default aruba exit timeout is 10 seconds
-    And an executable named "bin/cli" with:
-    """bash
-    #!/usr/bin/env bash
-
-    for ((c=0; c<65536; c = c+1)); do
-      echo -n "a"
-    done
-    """
-    And a file named "features/flushing.feature" with:
-    """cucumber
-    Feature: Flushing output
-      Scenario: Run command
-        When I run `cli`
-        Then the output should contain "a"
-        And the output should be 65536 bytes long
-        And the exit status should be 0
-    """
-    When I run `cucumber`
-    Then the features should all pass
-
-  Scenario: Tons of interactive output
-    Given the default aruba exit timeout is 10 seconds
-    And an executable named "bin/cli" with:
-    """bash
-    #!/usr/bin/env bash
-
-    read size; for ((c=0; c<$size; c = c+1)); do
-      echo -n "a"
-    done
-    """
-    And a file named "features/flushing.feature" with:
-    """cucumber
-    Feature: Flushing output
-      Scenario: Run command
-        When I run `cli` 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
-    """
-    When I run `cucumber`
-    Then the features should all pass

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git



More information about the Pkg-ruby-extras-commits mailing list