Python unit testing: parametrized test cases

3 comments · 66% upvoted · source · other discussions

comments

shigawire

I've recently been having to target python2.5 for a large project, so have been using unittest2 quite a lot.

eliben

AFAIK, unittest2 doesn't have anything built-in that solves this. Does it?

shigawire

No; just thought I'd mention it 'cause it was useful for it's own sake.