An open API service for producing an overview of a list of open source projects.

https://github.com/smarie/python-pytest-cases

case concerns data dataset decorator file parameter parametrize pytest separate test test-case testcase

Score: 23.29708559383017

Last synced: about 24 hours ago
JSON representation

Repository metadata:

Separate test code from test cases in pytest.


Owner metadata:


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 698
Total Committers: 22
Avg Commits per committer: 31.727
Development Distribution Score (DDS): 0.203

Commits in past year: 12
Committers in past year: 4
Avg Commits per committer in past year: 3.0
Development Distribution Score (DDS) in past year: 0.417

Name Email Commits
Sylvain MARIE s****e@s****m 556
Sylvain Marie s****e@s****m 96
Sagi Shadur s****2@g****m 11
Ryan Addessi (raddessi) r****i@g****m 7
Victor Maryama v****a@t****m 4
Paolo Lammens l****o@g****m 4
Michele Riva r****a@i****t 3
Eddie Bergman e****s@g****m 2
Zbigniew Jędrzejewski-Szmek z****k@i****l 2
Bryan Borg 7****7 1
Ching-Hwa Yu c****u@g****m 1
Christopher McGirr 7****r 1
Janick Gerstenberger j****r@g****m 1
Jay Qi 2****i 1
Karthikeyan Singaravelan t****i@g****m 1
Kian-Meng Ang k****g@g****m 1
Oliver Bestwalter o****r@b****e 1
Ran Benita r****n@u****m 1
Tomasz Kłoczko 3****k 1
Vyas Ramasubramani v****i@g****m 1
jsmadis j****s@g****m 1
nor3th 7****h 1

Issue and Pull Request metadata

Last synced: 7 days ago

Total issues: 117
Total pull requests: 87
Average time to close issues: 3 months
Average time to close pull requests: about 2 months
Total issue authors: 60
Total pull request authors: 15
Average comments per issue: 2.78
Average comments per pull request: 0.86
Merged pull request: 42
Bot issues: 0
Bot pull requests: 2

Past year issues: 11
Past year pull requests: 10
Past year average time to close issues: 6 days
Past year average time to close pull requests: about 3 hours
Past year issue authors: 5
Past year pull request authors: 3
Past year average comments per issue: 0.91
Past year average comments per pull request: 1.0
Past year merged pull request: 3
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/smarie/python-pytest-cases

Top Issue Authors

  • smarie (42)
  • wonboyn (5)
  • kloczek (4)
  • vyasr (3)
  • Jasha10 (3)
  • lilo-d (2)
  • eddiebergman (2)
  • jgersti (2)
  • michele-riva (2)
  • lawschlosser (2)
  • 2e0byo (1)
  • connesy (1)
  • Gutifarra (1)
  • fabaff (1)
  • jaemolihm (1)

Top Pull Request Authors

  • smarie (60)
  • jammer87 (6)
  • michele-riva (4)
  • eddiebergman (2)
  • last-partizan (2)
  • bluetech (2)
  • dependabot[bot] (2)
  • saroad2 (2)
  • shaunc (1)
  • kianmeng (1)
  • vyasr (1)
  • nor3th (1)
  • larsoner (1)
  • jayqi (1)
  • chrsmcgrr (1)

Top Issue Labels

  • new_feature (7)
  • has_workaround (5)
  • enhancement (5)
  • packaging (rpm/apt/...) (3)
  • bug (3)
  • topic: compatibility (3)
  • question (2)
  • wontfix (2)
  • needs_reproducible_example (1)
  • pytest-goodies (1)
  • seems out of scope (1)
  • performance (1)
  • awaiting_bugfix_on_external_dependency (1)

Top Pull Request Labels

  • awaiting_bugfix_on_external_dependency (2)

Package metadata

pypi.org: pytest-cases

Separate test code from test cases in pytest.

  • Homepage: https://github.com/smarie/python-pytest-cases
  • Documentation: https://pytest-cases.readthedocs.io/
  • Licenses: BSD 3-Clause
  • Latest release: 3.10.1 (published 28 days ago)
  • Last Synced: 2026-03-27T22:01:20.486Z (3 days ago)
  • Versions: 124
  • Dependent Packages: 61
  • Dependent Repositories: 227
  • Downloads: 814,156 Last month
  • Docker Downloads: 134,474
  • Rankings:
    • Dependent packages count: 0.305%
    • Downloads: 0.711%
    • Dependent repos count: 1.017%
    • Docker downloads count: 1.034%
    • Average: 2.231%
    • Stargazers count: 3.625%
    • Forks count: 6.695%
  • Maintainers (1)
conda-forge.org: pytest-cases

Did you ever think that most of your test functions were actually the same test code, but with different data inputs and expected results/exceptions ? `pytest-cases` leverages `pytest` and its great `@pytest.mark.parametrize` decorator, so that you can separate your test cases from your test functions. In addition, `pytest-cases` provides several useful goodies to empower `pytest`. In particular it improves the fixture mechanism to support "fixture unions". This is a major change in the internal `pytest` engine, unlocking many possibilities such as using fixture references as parameter values in a test function.

  • Homepage: https://github.com/smarie/python-pytest-cases
  • Licenses: BSD-3-Clause
  • Latest release: 3.6.13 (published almost 4 years ago)
  • Last Synced: 2026-03-22T11:25:04.899Z (8 days ago)
  • Versions: 34
  • Dependent Packages: 0
  • Dependent Repositories: 7
  • Downloads: 440,748 Total
  • Rankings:
    • Dependent repos count: 12.915%
    • Stargazers count: 23.01%
    • Average: 29.854%
    • Forks count: 31.903%
    • Dependent packages count: 51.589%
nixpkgs-unstable: python314Packages.pytest-cases

Separate test code from test cases in pytest

guix: python-pytest-cases

Separate test code from test cases in pytest.

nixpkgs-unstable: python313Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-23.11: python310Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-23.05: python311Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-24.05: python311Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-24.05: python312Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-23.05: python310Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-24.11: python312Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-24.11: python311Packages.pytest-cases

Separate test code from test cases in pytest

nixpkgs-23.11: python311Packages.pytest-cases

Separate test code from test cases in pytest


Dependencies

ci_tools/flake8-requirements.txt pypi
  • bandit <1.7.3
  • flake8 >=3.6,<4
  • flake8-bandit >=2.1.1,<3
  • flake8-bugbear >=20.1.0,<21.0.0
  • flake8-copyright ==0.2.2
  • flake8-docstrings >=1.5,<2
  • flake8-html >=0.4,<1
  • flake8-print >=3.1.1,<4
  • flake8-tidy-imports >=4.2.1,<5
  • genbadge *
  • mccabe >=0.6.1,<1
  • naming >=0.5.1,<1
  • pycodestyle >=2.6.0,<3
  • pydocstyle >=5.1.1,<6
  • pyflakes >=2.2,<3
  • setuptools_scm >=3,<4
noxfile-requirements.txt pypi
  • keyring *
  • makefun *
  • nox *
  • setuptools_scm *
  • toml *
.github/workflows/base.yml actions
  • actions/checkout v2 composite
  • actions/download-artifact master composite
  • actions/setup-python v1 composite
  • actions/upload-artifact master composite
  • codecov/codecov-action v1 composite
  • conda-incubator/setup-miniconda v2 composite
  • kolpav/purge-artifacts-action v1 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
setup.py pypi