Session

Testing Rails Apps

Mike Clark, President, Clarkware Consulting

Track: Ruby
Date: Thursday, July 27
Time: 2:35pm - 3:20pm
Location: F151

Testing has always been a bit like eating your vegetables and going to the gym: everyone knows the benefits, but sometimes it’s not easy to do. Thankfully, testing doesn’t have to be something you force yourself to do (or else feel guilty about). Indeed, Rails makes it easy to write tests. Small wonder, then, that many Rails programmers end up writing good test suites, and their applications thank them for it.

This session will show you how to start writing good unit and functional tests, and keep writing them when the pressure is on. We’ll also explore how to get the most out of test fixtures, use mocks effectively, keep tests running fast, and use the latest and greatest Rails testing features to your advantage.