Sha256: 46d795a670ce133f03fcb1c94e14d301cb811e4ff5829f4640f7c462242bb62c

Contents?: true

Size: 935 Bytes

Versions: 56

Compression:

Stored size: 935 Bytes

Contents

Story: Getting correct output

  As an RSpec user
  I want to see output only once
  So that I don't get confused

  Scenario: Run with ruby
    Given the file spec/simple_spec.rb
    When I run it with the ruby interpreter
    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"

  Scenario: Run with CommandLine object
    Given the file spec/simple_spec.rb
    When I run it with the CommandLine object
    Then the exit code should be 0
    And the stdout should not match "Loaded suite"
    And the stdout should not match /\d+ tests, \d+ assertions, \d+ failures, \d+ errors/m
    And the stdout should match "1 example, 0 failures"

  Scenario: Tweak backtrace
    Given the file stories/failing_story.rb
    When I run it with the ruby interpreter
    Then the stdout should not match /\/lib\/spec\//

Version data entries

56 entries across 56 versions & 10 rubygems

Version Path
dchelimsky-rspec-1.1.10 stories/example_groups/output
dchelimsky-rspec-1.1.11.1 stories/example_groups/output
dchelimsky-rspec-1.1.11 stories/example_groups/output
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/stories/example_groups/output
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/stories/example_groups/output
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/stories/example_groups/output
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/stories/example_groups/output
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output
mack-0.8.2 lib/gems/rspec-1.1.11/stories/example_groups/output
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/stories/example_groups/output
picolena-0.1.0 rails_plugins/rspec/stories/example_groups/output
picolena-0.1.1 rails_plugins/rspec/stories/example_groups/output
picolena-0.1.4 rails_plugins/rspec/stories/example_groups/output
picolena-0.1.2 rails_plugins/rspec/stories/example_groups/output
picolena-0.1.3 rails_plugins/rspec/stories/example_groups/output