3. Moving to TDD Build tests before refactoring or upgrading Test-drive bug fixes Write tests for anything you worry about Continuous Integration is essential Remove unused (untested) code
4. RED – GREEN – REFACTOR Write the test Watch it fail Make it pass Make the code good, make sure it still passes
5. Unit Test Frameworks Test::Unit Shoulda Rspec http://github.com/ultrasaurus/test-framework-comparison