2008/8/27 Marco Bizzarri <[EMAIL PROTECTED]>: > I strongly disagree on using mocks for a database; checking sequences > of SQL statement is fragile, painful, and leads you to frustration > when the actual SQL and the generated SQL do not match.
Clearly you need integration tests as well as unit tests, but the unit tests ought to isolate the code under test, so stubbing out external dependencies is the norm. -- Cheers, Simon B. [EMAIL PROTECTED] http://www.brunningonline.net/simon/blog/ GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues | Twitter: brunns -- http://mail.python.org/mailman/listinfo/python-list