RSpec is a Behaviour-Driven Development tool for Ruby programmers. BDD is an approach
to software development that combines Test-Driven Development, Domain Driven Design,
and Acceptance Test-Driven Planning. RSpec helps you do the TDD part of that equation,
focusing on the documentation and design aspects of TDD.
This is the official documentation site for RSpec. Much of the documentation you see here is
written with Cucumber, which, like RSpec, provides executable documentation. The
Cucumber features you see here have all been run against RSpec's codebase, serving as
specification, documentation and regression tests of the behavior.
You can also find full API documentation for each sub-project at:
Upgrading from RSpec 2.x
We've put a lot of effort into making the upgrade process from RSpec 2.x to 3.x as smooth as
possible, in spite of the fact that it's our first chance in over 3 years to intentionally make
backwards-incompatible changes. See the upgrade documentation for detailed step-by-step
Help make this documentation better!
Please submit feedback (and patches!) on this documentation to:
Last published over 8 years ago by myronmarston.