ron3200 at gmail.com
Sun Feb 19 01:27:23 CET 2012
On Sat, 2012-02-18 at 08:12 +1000, Nick Coghlan wrote:
> On Sat, Feb 18, 2012 at 7:57 AM, Mark Janssen <dreamingforward at gmail.com> wrote:
> > Anyway... of course patches welcome, yes... ;^)
> Not really. doctest is for *testing code example in docs*. If you try
> to use it for more than that, it's likely to drive you up the wall, so
> proposals to make it more than it is usually don't get a great
> reception (docs patches to make it's limitations clearer are generally
> welcome, though). The stdib solution for test driven development is
> unittest (the vast majority of our own regression suite is written
> that way - only a small proportion uses doctest).
I love doctest for *testing while I develop code*.
More information about the Python-ideas