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

Chris Withers chris at simplistix.co.uk
Tue Nov 8 23:53:49 PST 2011


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



More information about the testing-in-python mailing list