The Great Test Framework Dance-off

Josh Susser (Pivotal Labs)
General
Location: Portland Ballroom 252
Average rating: ****.
(4.00, 14 ratings)

Survey of Rails test frameworks

  • descriptions of major players: test/unit, test/spec, rspec, simply_bdd, shoulda, etc.

Evaluate frameworks on a number of scales

  • readability, transparency, compactness, ease of refactoring, etc., etc.
  • support for testing views, helpers, routes, associations, validations and other Rails-specific features
  • mocking/stubbing support
  • fixtures and other test data creation approaches
  • pitfalls and idiosyncrasies

Examples

  • one modest Rails app, equivalent tests written in 2 or 3 frameworks
  • goal is to show best use of each framework, tests may look similar or different depending on features and idioms
Photo of Josh Susser

Josh Susser

Pivotal Labs

Josh Susser is a full-time Rails developer, a senior engineer at Pivotal Labs in San Francisco, and a frequent contributor to the Ruby on Rails open source project. If you’ve ever built a model that used a self-referential has_many :through association, you’ve probably read his blog.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Sun Microsystems
  • FiveRuns
  • GotThingsDone
  • Heroku
  • ThoughtWorks
  • Atlantic Dominion Solutions
  • Blue Box Group
  • CodeGear
  • E-xact
  • ELC Technologies
  • EnterpriseDB
  • GemStone Systems
  • Intridea
  • Morph Labs
  • RightScale
  • TechRepublic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@ oreilly.com.

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact confpr@oreilly.com.

Contact Us

View a complete list of RailsConf 2008 contacts.