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

Check out the Site

Results Delivered

“The bottom line: Pathfinder delivers. We had a huge, difficult project with a very challenging deadline that was unmovable. The staff from Pathfinder rolled up their sleeves to get it done and meet our goal. We were very impressed with their work product, drive and commitment to making our project a reality and a success.”

Director of Business Development, Technology Solutions

NORC

Stay connected.

Receive the latest updates on user experience design and Agile development best practices.

Sign-up for Pathfinder’s newsletter

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

Comments about this site: info@pathf.com