[Tutor] IDEs
Josep M. Fontana
josep.m.fontana at gmail.com
Tue Nov 23 15:02:27 CET 2010
Hi Steven,
> Also, I'm a big believer in test-driven development. I must admit though I'm
> not so pedantic to write the tests first, but for anything except
> quick-and-dirty scripts, I make sure that *every* function in my program,
> without exception, has a test to ensure that it works correctly. So I'll
> often have a third tab open for running my test suite. I use a mix of
> doctests and unit-tests. Here's an example from a project I'm working on at
> the moment:
<snip>
Does anybody know of any good reference on testing? How do you develop
tests for functions? I haven't found much information on this in the
Python books I own.
JM
More information about the Tutor
mailing list