[Zope3-Users] Re: [Zope] Debugging doctests

Lennart Regebro regebro at gmail.com
Thu Feb 23 13:37:04 EST 2006


On 2/23/06, Chris McDonough <chrism at plope.com> wrote:
> I dunno about sucking because they are quite good for documentation,

Oh, absolutely.

> but I tend to write plain-old unittests instead of doctests when I'm
> testing without any pretense towards writing documentation.

Exactly my sentiments.

> Being able to set a breakpoint in the test body is important for me
> too.  I probably could be setting breakpoints once I'm in the
> debugger

Well, how do you set a breakpoint in something which has no py-file
and line, but is in a text-document or string? :-)

Not to mention, doctests are not debuggable from WingIDE. ;-)

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope mailing list