Subscribe to Launch, the Pathfinder Development newsletter and get a monthly update on best practices for delivering successful software.

Rails Prescriptions
by Noel Rappin Director, Pathfinder Development Ruby on Rails Practice
Published in March of 2009, with comprehensive strategies and tools for testing your Rails application. Available in DRM-free PDF format.
Indications: For any Rails programmer who writes tests. Or any Rails programmer who doesn’t write tests.
Prescription: Over thirty prescriptions for improving your tests. Take one a day. Or take them all at once.
Side Effects: Can cause rapid development, decrease sickness from bugs that are “just going around,” and create an increase in awesomenes.
The current table of contents looks like this:
A basics section:
- Basics—creating test files, running tests
- Model tests
- Controller tests
- Integration tests
- View tests
- Fixtures
- Helper tests
- Mocks and stubs
The more detailed section currently has:
- Refactoring setups
- Testing style guide (incomplete)
- Fixture replacements
- Testing with Date/Time
- Faker
Planned for the future:
- Third-party view testing
- Security testing
- route testing
- Ajax testing
- Mailer testing
- File Upload Testing
- Refactoring assertions
- Shoulda
- RSpec
- Cucumber
- Webrat
- Dealing with legacy projects
- Autotest
- Tarantula
- Heckle
- RCov
Email Newsletter
Stay connected.
Receive the latest updates on user experience design and Agile development best practices.
Plug in.
Check out our latest Open Source Project TankEngine the Rails plugin for the iPhone.
TankEngine is a plugin for developing web applications optimized for the iPhone look and feel. It is based on earlier work using iUI, but has a brand-new JavaScript ending based on jQuery, and is a more flexible tool than iUI
