Logo: Relish

  1. Sign up
  2. Sign in

Project: RSpec Core 3.0

RSpec Core 3.0

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.

Topics

  1. Upgrade
  2. Changelog
  3. Example groups
  4. Command line
  5. Hooks
  6. Subject
  7. Helper methods
  8. Metadata
  9. Filtering
  10. Configuration
  11. Expectation framework integration
  12. Mock framework integration
  13. Formatters
  14. Spec files
  15. Pending and skipped examples

Last published about 1 month ago by myronmarston.