Re: [TIP] zope.testrunner and nose count doctests differently

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel,gmane.comp.python.testing.general
Message-ID <[email protected]>
Hi Benji,

On 08/11/2011 11:10, Jonathan Lange wrote:
>> Mark has somewhat misdirected the thread here, either that or I've got in a
>> muddle, anyway, the issue at hand is that nose ignores
>> TestCase.countTestCases(). Any nose people know what that is?
>
> Not a nose person, but it's usual to report on TestResult.testsRun
> rather than TestSuite.countTestCases. The numbers can be different
> because one test might run multiple times or report multiple results,
> or tests might be generated during the run that weren't available for
> countTestCases to count.

If this is the case, perhaps Manuel shouldn't do anything with 
countTestCases? (I know it would drop the test count, but that's not 
*that* important, right? ;-) - and at least all the test runners would 
agree...)

cheers,

Chris

PS: When are you going to move source control for Manuel over to GitHub?

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk
_______________________________________________
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.