Integration Testing with RSpec's Story Runner
RSpec’s new Story Runner supports integration testing in the form of executable user stories and scenarios. The RailsStory extension wraps rails IntegrationTest, providing access to all the goodies you get from Rails. Plus, it gives you much more granular control of individual steps in each scenario.
In this 45 minute talk, David Chelimsky (lead developer of RSpec) will demonstrate his approach to writing for the RSpec Story Runner and address several related issues including:
- plain text stories vs pure Ruby (when is which appropriate?)
- extending the RailsStory with custom helpers
- testing forms using webrat within the Story Runner
- finding a balance of domain and UI scenarios
- duplication between stories/scenarios and model/view/controller/helper examples























