[issue7897] Support parametrized tests in unittest

Jean-Paul Calderone report at bugs.python.org
Thu Feb 11 16:22:08 CET 2010


Jean-Paul Calderone <exarkun at divmod.com> added the comment:

> With paramterized tests *all* the tests are run and *all* failures reported. With testing in a loop the tests stop at the first failure.

+1 to this justification.  Parameterized tests are a big win over a simple for loop in a test.

(However, I haven't looked at the IPython code at all, and Antoine's objection seemed to have something in particular to do with the IPython code?)

----------
nosy: +exarkun

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


More information about the Python-bugs-list mailing list