Comparison
pytest-cases vs pytest-lazy-fixture vs pytest-lazy-fixtures
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Separate test code from test cases in pytest.
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install pytest-casesIt helps to use fixtures in pytest.mark.parametrize
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install pytest-lazy-fixtureAllows you to use fixtures in @pytest.mark.parametrize.
Maintained. Last release 4 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install pytest-lazy-fixturesIn short
- pytest-lazy-fixture looks abandoned: avoid it for new projects.
- pytest-lazy-fixtures is the most used: 2.3M downloads a month, 2.5× more than pytest-cases.
- Maintenance is comparable: pytest-lazy-fixtures 44, pytest-cases 37 on Pythie’s Index.
Side by side
| Metric | pytest-cases | pytest-lazy-fixture | pytest-lazy-fixtures |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | 14 |