I walk you through the process of creating specs for some common scenarios found in modern web apps. I explain our methods for organizing your integration tests to create a clean and manageable test suite. I show how to effectively traverse your site with your test suite and what to assert along the way.
I cover the following topics in depth:
* Importance of complete coverage
* Working the features of rspec to your advantage
* Automated browsing technologies
* Stubbing external services
* Uploading and verifying files
* Discovering dead code
* How to use Factories effectively
* Most importantly, the reasoning behind it all
* Common pitfalls and gotchas
Details:
* when: Thursday, July 29th, 7pm
* who: Paul Elliot, developer at Hashrocket, http://hashrocket.com/people/view/paul-elliott/
* where: Hashrocket, 320 1st St. N., Suite 712, Jacksonville Beach, FL 32250 (877) 885-8846
* blog: http://www.rubyjax.com/2010/7/21/rubyjax-july-seamless-integration-testing
* meetup: http://www.meetup.com/rubyjax/calendar/14168140/