Downloaded 85 times




















This document discusses using RSpec and behavior driven development (BDD) to write specifications and tests for software. It covers writing user stories with a Given-When-Then structure to define scenarios and test the full software stack. Examples are given of using RSpec matchers and Webrat to specify and test user interface elements and behavior. The process of writing a story, implementing the code, and running tests is also outlined.