Debugging Python

Frithiof Andreas Jensen frithiof.jensen at removethis.ted.ericsson.dk
Mon Jan 12 05:59:18 EST 2004


"Alan Gauld" <alan.gauld at btinternet.com> wrote in message
news:3fffbe99.486050433 at news.blueyonder.co.uk...
> On Fri, 9 Jan 2004 10:29:46 GMT, Harry George

> Interesting comments. How do people generally perform these tests
> then?

I use the unittest module.

It is *tedious* as hell to get the test cases up and running in unittest but
I find that it always takes less time and effort in total to take the pain
up front instead of debugging "later".

Often difficulties with the test code inspires one to rethink an interface
or a design, something one would not like to do on a larger collection of
code that "almost" runs.





More information about the Python-list mailing list