Sha256: c10f2b9de06611ed1f6b94a3e6a6f5fffbf1c1c125ed40e8bf0bb9c3cd0a309a
Contents?: true
Size: 752 Bytes
Versions: 7
Compression:
Stored size: 752 Bytes
Contents
Feature: `--fail-fast` option Use the `--fail-fast` option to tell RSpec to stop running the test suite on the first failed test. You may also specify `--no-fail-fast` to turn it off (default behaviour). Background: Given a file named "fail_fast_spec.rb" with: """ruby RSpec.describe "fail fast" do it "passing test" do; end it "failing test" do fail end it "this should not be run" do; end end """ Scenario: Using `--fail-fast` When I run `rspec . --fail-fast` Then the output should contain ".F" Then the output should not contain ".F." Scenario: Using `--no-fail-fast` When I run `rspec . --no-fail-fast` Then the output should contain ".F."
Version data entries
7 entries across 7 versions & 1 rubygems