Ruby Midwest · November 2011
Test Your Legacy Rails Code
Everybody wants to do test-driven development, but switching to TDD or BDD on an existing project that doesn't have tests presents special challenges. Often, the current code is a tangled mess of dependencies that defeats the very concept of unit testing. Worse, if somebody has attempted TDD in the past, you might have a test suite that needs to be fixed before any new tests can be written.
"This conference... at one point in the talk you can hear Jim Weirich being the only person to laugh a joke. This is also the conference where Bob Martin started his end-of-day-one keynote by correcting mistakes from earlier speakers, including myself. The organizers gave me Martin's note card from the talk, but I lost it."