Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Merge pull request #1945 from rspec/prevent_run_all_when_filtered_ign…

…oring_only_failures

`--only-failures` takes precedence over `run_all_when_everything_filtered`
latest commit 9f36715d89
@JonRowe JonRowe authored
..
Failed to load latest commit information.
command_line --only-failures takes precedence over run_all_when_everything_filtered
configuration ensure the default configuration is loaded in rspec/autorun
example_groups Merge pull request #1909 from leoarnold/master
expectation_framework_integration Beef up tests for when rspec-expectations is not available.
filtering Add feature covering if/unless always working
formatters Use delegation instead of inheritance for custom formatter cuke.
helper_methods Tweak a few things about the threadsafe let solution from #1858.
hooks Update docs to explain how singleton example groups work.
metadata Correct a misspelled word in a feature
mock_framework_integration `c.mock_framework = :foo` => `c.mock_with :foo`
pending_and_skipped_examples Include failure details in pending example dumps.
spec_files Use code backticks in feature and scenario names.
step_definitions --only-failures takes precedence over run_all_when_everything_filtered
subject Generated descriptions cannot be used for filtering.
support Move bisect integration tests into cucumber scenarios.
.nav Add cuke demonstrating that rspec-core can be used standalone.
README.md Remove line breaks.
Upgrade.md A few more minor grammar and formatting updates.
clear_examples.feature PR 1706 followups
core_standalone.feature Skip specs with non-mri-compatible backtrace.

README.md

rspec-core provides the structure for RSpec code examples:

describe Account do
  it "has a balance of zero when first opened" do
    # example code goes here - for more on the
    # code inside the examples, see rspec-expectations
    # and rspec-mocks
  end
end

Issues

This documentation is open source, and a work in progress. If you find it incomplete or confusing, please submit an issue, or, better yet, a pull request.

Something went wrong with that request. Please try again.