Skip to content

aruba 0.3.2 fails features (stdout buffering issue?) #48

Closed
@graaff

Description

I'm getting a few failures like this one with the released version of the aruba 0.3.2 gem. The intend of the feature seems to be fulfilled, just not the order in which the results are shown. I'm not sure to what extend this is considered to be a problem.

This is using "ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]". Please let me know if you need more details.

  Scenario: Detect output from all processes                    # features/output.feature:142
    When I run "ruby -e 'puts \"hello world!\"'"                # lib/aruba/cucumber.rb:94
    And I run "ruby -e 'puts gets.chomp.reverse'" interactively # lib/aruba/cucumber.rb:102
    And I type "hello"                                          # lib/aruba/cucumber.rb:106
    Then the output should contain exactly:                     # lib/aruba/cucumber.rb:138
      """
      hello world!
      olleh

      """
      expected: "hello world!\nolleh\n"
           got: "olleh\nhello world!\n" (using ==)
      Diff:
      
      @@ -1,3 +1,3 @@
      -hello world!
       olleh
      +hello world!
       (RSpec::Expectations::ExpectationNotMetError)
      ./features/support/../../lib/aruba/cucumber.rb:139:in `/^the output should contain exactly:$/'
      features/output.feature:146:in `Then the output should contain exactly:'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions