Re: zope.testrunner and nose count doctests differently
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <CAPDm-Fhfx7t4nYgWpuFPP7GhUKe08jmBMEbVjctRGQvcLq_xWA@mail.gmail.com> |
On Thu, Nov 3, 2011 at 5:14 AM, Chris Withers <[email protected]> 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 _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )