[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope3-users
Subject:    [Zope3-Users] Debugging doctests
From:       "Lennart Regebro" <regebro () gmail ! com>
Date:       2006-02-23 11:53:20
Message-ID: 319e029f0602230353u6734f809s6492f42940d034d8 () mail ! gmail ! com
[Download RAW message or body]

On 2/21/06, Stephan Richter <srichter@cosmos.phy.tufts.edu> wrote:
> On Tuesday 21 February 2006 12:14, Lennart Regebro wrote:
> > (btw, through all this, I assume that Jims fix for the doctest
> > debugging problem that he mentioned did work, and that you now can
> > insert an import pdb;pdb.set_trace() in the middle of the doctests.
> > Right?)
>
> This has been fixed since ages. :-)

Ah, not in Zope 2.9 it seems. Is this expected, or an I doing something wrong?
I'm running the Five tests with bin/zopectl test --dir Products/Five
as usual, and having a set_trace() in the doctests behaves exactly as
with the old test runner, where you have to debug though the doctest
running as well, which makes it pretty useless...

Hang on, I just tried it with Zope 3.2 too, and it didn't work either.
What am I doing wrong?

--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic