Ruby testing docs, kept readable.
relish. is an archive of the example-driven documentation that Ruby developers have linked to for more than a decade:
RSpec, VCR, Cucumber and Gavel, rebuilt page by page from each project's own MIT-licensed feature files.
Every example on these pages is an executable scenario from the project's source. Old links keep working, and each page
says which release it came from and where the current docs live.
Browse RSpec Explore all projects Read the articles
Projects in the archive
RSpecRSpec CoreThe runner and the describe / it structure: example groups, hooks, metadata, filtering, command line options and formatters.Read the docsRSpecRSpec ExpectationsThe expect syntax and every built-in matcher, plus custom matchers and compound expectations.Read the docsRSpecRSpec MocksTest doubles, stubs, spies, verifying doubles, message expectations and argument matchers.Read the docsRSpecRSpec RailsModel, request, controller, system, feature, view, helper and mailer specs for Rails apps.Read the docsVCRVCRRecord HTTP interactions once and replay them in tests: cassettes, record modes, request matching and hooks.Read the docsCucumberCucumberGherkin syntax, the command line, formatters and step definitions for Cucumber on Ruby.Read the docsApiaryGavelThe behavior specification for Gavel, an HTTP message validator: expectations, data model and output format.Read the docs
About this archive
These docs were written as Gherkin feature files that double as the projects' own test suites, so every page shows real input and real output.
The archive renders them as static pages, version by version, straight from the projects' release tags.
This site is independent and unofficial. For the newest releases, use each project's current documentation, linked at the bottom of every page.
Licenses for the archived content are on the license page.