More ruby unit-testing

May 11, 2006

James Edward Grey – of Ruby Quiz fame – asserts that unit testers get more chicks. (via yup.com).

Slow Tests are a coding smell, Gerard Meszaros says: “The single most common cause of Slow Tests is interacting with a database in many of the tests. Tests that have to write to a database to set up the fixture and read a database to verify the outcome (a form of Back Door Manipulation ) take about 50 times longer to run than the same test running against in-memory data structures. This is a special case of the more general problem of using slow components.”

Leave a Comment