Comparison
ddt vs parameterized
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Data-Driven/Decorated Tests
Low maintenance activity. Last release over 2 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install ddtParameterized 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 parameterizedIn short
- parameterized is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- ddt is the most used: 1.3M downloads a month.
- ddt also has the best Pythie’s Index (26).
- ddt is growing fastest: downloads +21% over the last month.
Side by side
| Metric | ddt | parameterized |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 26 | 14 |