NOTE: RSpec 2 is the latest version of this video! It’s probably the one you want.
Many prominent Rails developers have jumped on the BDD bandwagon, and with good reason! It’s a great workflow and values clarity, small steps, database-independence, and self-documenting code. Try it yourself with PeepCode’s RSpec Basics tutorial!
If Test::Unit doesn’t make sense to you, or if you want to write better code, this is the place to start.
This 55 minute tutorial is the first of a 3-part series on RSpec. You’ll learn how to install and configure RSpec. We’ll walk through a simple project. Then we’ll install RSpec in a Rails application and start writing examples for a simple model.
The RSpec Mocks and Models tutorial is available now and covers mocking, stubbing, and custom matchers. The RSpec Mocks and Models tutorial (Part 3) will cover controllers, views, and auxiliary tools.
This screencast assumes that you are familiar with Ruby and the basics of writing a Rails application. The Rails from Scratch tutorial covers these concepts.
Revision 4 (Notes) · Updated: Jan 07, 2011 · Length: 55 min · 40 MB