[issue12600] Support parameterized TestCases in unittest

Mark Diekhans report at bugs.python.org
Mon Jan 16 08:31:48 CET 2012


Mark Diekhans <markd at kermodei.com> added the comment:

The lack of the ability to pass a parameter to a test case is a very
frustrating restriction with unittest. The frequent need if for a database
connection for testing database related classes.

Yes, there are lots of other ways to work around it, but they tend to involved need to understand and subclass several pieces of the unittest
framework.

An enthusiastic yes on this.

----------
nosy: +diekhans

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


More information about the Python-bugs-list mailing list