[issue18232] running a suite with no tests is not an error

Terry J. Reedy report at bugs.python.org
Tue Sep 9 05:58:15 CEST 2014


Terry J. Reedy added the comment:

You missed my point, which is that tools consuming subunit streams are already able to consider 'no tests found' to be an error. Conversely, when I run the suite on my Windows box, I usually consider only 1 or 2 errors to be success. After unittest reports actual results, the summary pass/fail judgment is only advisory.

To be really flexible and meet all needs for automated adjustment of pass/fail, the new parameter should be function that gets the numbers and at least the set of tests that 'failed'.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18232>
_______________________________________


More information about the Python-bugs-list mailing list