[TIP] testing: why bother?
michael at voidspace.org.uk
Wed Mar 23 08:11:31 PDT 2011
On 23/03/2011 15:05, skip at pobox.com wrote:
> Laura> I think that the most important reason to write tests is so that
> Laura> they can write them _first_, and the code _later_. This will
> Laura> change the way they write code, so that they won't produce these
> Laura> large, self-contained, too-tightly coupled messes, which just
> Laura> happen to work, and which are a nightmare to refactor because
> Laura> they don't decompose nicely.
> OTOH, writing tests first is also no guarantee that your code will be
Oh, you obviously haven't heard - TDD is the silver bullet (and Titus is
just lazy and ignorant):
All the best,
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
More information about the testing-in-python