Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
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 Rephrase the explanation of using shared contexts via metadata
expectation_framework_integration Reword cuke step.
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 Reword cuke step.
subject Generated descriptions cannot be used for filtering.
support Move bisect integration tests into cucumber scenarios.
.nav Add cuke for aggregating failures. Remove line breaks. A few more minor grammar and formatting updates.
clear_examples.feature PR 1706 followups
core_standalone.feature Skip specs with non-mri-compatible backtrace.

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


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.