Comparison
parameterized vs unittest-parametrize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Parameterized testing with any Python test framework
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install parameterizedParametrize tests within unittest TestCases.
Actively maintained. Last release 3 months ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install unittest-parametrizeIn short
- parameterized is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- unittest-parametrize is the most used: 275.5K downloads a month.
- unittest-parametrize also has the best Pythie’s Index (71).
- Safe default for a new project: unittest-parametrize.
Side by side
| Metric | parameterized | unittest-parametrize |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 71 |