[TIP] Doctest or unitest?
fuzzyman at voidspace.org.uk
Wed Mar 7 12:55:01 PST 2007
Fred Drake wrote:
> On 3/7/07, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
>> Isn't typing '...' all the time annoying ? (or do you code first, test
>> later... ? ;-)
> Yes, typing '>>> ' and '... ' is horrid, and the result is visually
> distracting! Still, ending up with better documentation is worth it.
>> Don't you also lose the help of the IDE with indentation and
>> autocomplete because you are no longer writing the tests in Python
>> files ?
> Yup. Stinks to be a developer. :-(
Hmm... there is a better way. :-)
More information about the testing-in-python