Logo: Relish

  1. Sign in

Project: RSpec Core 3.9

RSpec Core 3.9

rspec-core provides the structure for RSpec code examples:

RSpec.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.


  1. Example groups
  2. Command line
  3. Hooks
  4. Subject
  5. Helper methods
  6. Metadata
  7. Filtering
  8. Configuration
  9. Expectation framework integration
  10. Mock framework integration
  11. Formatters
  12. Spec files
  13. Use rspec-core without rspec-mocks or rspec-expectations
  14. Pending and skipped examples
  15. Running specs multiple times with different runner options in the same process

Last published 6 months ago by Jon Rowe.