[Zope-dev] zope.testrunner and nose count doctests differently

Jim Fulton jim at zope.com
Thu Nov 3 11:05:25 UTC 2011


On Thu, Nov 3, 2011 at 5:14 AM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi Michael,
>
> On 03/11/2011 09:12, Michael Howitz wrote:
>> Run both test runners with the option -vv to see which tests are run.
>> (I did this for your code and the list of tests seems to be equal.)

It would be interesting for the rest of us to know the length of that list.

>
> Cool, I'd done this already, but it's good to have someone else verify
> this :-)
>
>> Though this is no answer to the question which code does the counting.
>
> Indeed, so I guess that becomes the real question!

My guess is that when you're using the zope testruner, you're somehow
picking up zope.testing.doctest, which counts each doctest example as
a  test.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton


More information about the Zope-Dev mailing list