[issue7897] Support parametrized tests in unittest
Michael Foord
report at bugs.python.org
Thu Feb 11 16:22:02 CET 2010
Michael Foord <michael at voidspace.org.uk> added the comment:
By the way - I have no opinion on whether or not using yield is the right way to support parameterized tests. It may be better for the test method to take arguments, and be decorated as a parameterized test, with the decorator providing the parameters. When I come to look at it I will look at how py.test and nose do it and solicit advice on the Testing in Python list. We had a useful discussion there previously that would be good to refer to.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7897>
_______________________________________
More information about the Python-bugs-list
mailing list