Sha256: 09f9bee2011f26d6d911708469e9df35b1a9485db362168d1936d26bff022b3f

Contents?: true

Size: 734 Bytes

Versions: 6

Compression:

Stored size: 734 Bytes

Contents

Feature: spec output

  When running in interop mode with test/unit, RSpec will output
  the RSpec summary, but not the test/unit summary.

  Scenario Outline: Interop mode with test/unit
    Given a file named "simple_spec.rb" with:
    """
    require 'spec/autorun'

    describe "Running an Example" do
      it "should not output twice" do
        true.should be_true
      end
    end
    """
    When I run "<Command> simple_spec.rb"
    Then the exit code should be 0
    And the stdout should not match /\d+ tests, \d+ assertions, \d+ failures, \d+ errors/m
    And the stdout should match "1 example, 0 failures"

  Scenarios: Run with ruby and CommandLine object
    | Command     |
    | ruby        |
    | cmdline.rb  |

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-1.2.7 features/interop/rspec_output.feature
rspec-1.2.8 features/interop/rspec_output.feature
rspec-1.2.5 features/interop/rspec_output.feature
rspec-1.2.3 features/interop/rspec_output.feature
rspec-1.2.4 features/interop/rspec_output.feature
rspec-1.2.6 features/interop/rspec_output.feature