[issue7897] Support parametrized tests in unittest
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>
More information about the Python-bugs-list