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.
- Host: GitHub
- URL: https://github.com/smarie/python-pytest-cases
- Owner: smarie
- License: bsd-3-clause
- Created: 2018-06-22T11:42:19.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2026-03-02T23:02:14.000Z (28 days ago)
- Last Synced: 2026-03-24T15:19:45.400Z (6 days ago)
- Topics: case, concerns, data, dataset, decorator, file, parameter, parametrize, pytest, separate, test, test-case, testcase
- Language: Python
- Homepage: https://smarie.github.io/python-pytest-cases/
- Size: 14.4 MB
- Stars: 370
- Watchers: 4
- Forks: 41
- Open Issues: 59
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Zenodo: .zenodo.json
Owner metadata:
- Name: Sylvain Marié
- Login: smarie
- Email:
- Kind: user
- Description: solve. reuse.
- Website: https://www.researchgate.net/profile/Sylvain_Marie3
- Location:
- Twitter:
- Company: Schneider Electric
- Icon url: https://avatars.githubusercontent.com/u/3236794?u=cff776dd1dd1d9f20c537cdb46f4f42e93d94078&v=4
- Repositories: 87
- Last Synced at: 2024-04-16T01:09:15.857Z
- Profile URL: https://github.com/smarie
GitHub Events
Total
- Create event: 7
- Delete event: 7
- Issue comment event: 24
- Issues event: 15
- Pull request event: 16
- Pull request review comment event: 12
- Pull request review event: 13
- Push event: 10
- Release event: 2
- Watch event: 23
- Total: 129
Last Year
- Create event: 4
- Delete event: 7
- Issue comment event: 22
- Issues event: 13
- Pull request event: 13
- Pull request review comment event: 12
- Pull request review event: 13
- Push event: 10
- Release event: 2
- Watch event: 8
- Total: 104
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 | 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
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
- Total packages: 13
-
Total downloads:
- pypi: 814,156 last-month
- conda: 440,748 total
- Total docker downloads: 134,474
- Total dependent packages: 61 (may contain duplicates)
- Total dependent repositories: 234 (may contain duplicates)
- Total versions: 169
- Total maintainers: 2
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
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/pytest-cases/default.nix#L40
- Licenses: BSD-3-Clause
- Latest release: 3.9.1 (published 2 months ago)
- Last Synced: 2026-03-07T09:27:28.517Z (24 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
guix: python-pytest-cases
Separate test code from test cases in pytest.
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/python-check.scm#n2466
- Licenses: bsd-3
- Latest release: 3.9.1 (published 28 days ago)
- Last Synced: 2026-03-02T19:47:20.376Z (28 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
nixpkgs-unstable: python313Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/pytest-cases/default.nix#L40
- Licenses: BSD-3-Clause
- Latest release: 3.9.1 (published 2 months ago)
- Last Synced: 2026-03-08T02:38:24.000Z (23 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.11: python310Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/pytest-cases/default.nix#L51
- Licenses: BSD-3-Clause
- Latest release: 3.6.14 (published about 2 months ago)
- Last Synced: 2026-03-08T10:31:45.578Z (23 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.05: python311Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/pytest-cases/default.nix#L51
- Licenses: BSD-3-Clause
- Latest release: 3.6.14 (published 2 months ago)
- Last Synced: 2026-03-03T08:34:14.782Z (28 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.05: python311Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/pytest-cases/default.nix#L41
- Licenses: BSD-3-Clause
- Latest release: 3.8.5 (published about 2 months ago)
- Last Synced: 2026-03-09T03:08:53.166Z (22 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.05: python312Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/pytest-cases/default.nix#L41
- Licenses: BSD-3-Clause
- Latest release: 3.8.5 (published about 2 months ago)
- Last Synced: 2026-03-09T05:07:37.188Z (22 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.05: python310Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/pytest-cases/default.nix#L51
- Licenses: BSD-3-Clause
- Latest release: 3.6.14 (published 2 months ago)
- Last Synced: 2026-03-03T19:40:30.289Z (27 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Maintainers (1)
nixpkgs-24.11: python312Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/pytest-cases/default.nix#L42
- Licenses: BSD-3-Clause
- Latest release: 3.8.6 (published about 2 months ago)
- Last Synced: 2026-03-03T20:20:41.863Z (27 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Maintainers (1)
nixpkgs-24.11: python311Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/pytest-cases/default.nix#L42
- Licenses: BSD-3-Clause
- Latest release: 3.8.6 (published about 2 months ago)
- Last Synced: 2026-03-06T03:25:09.798Z (25 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.11: python311Packages.pytest-cases
Separate test code from test cases in pytest
- Homepage: https://github.com/smarie/python-pytest-cases
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/pytest-cases/default.nix#L51
- Licenses: BSD-3-Clause
- Latest release: 3.6.14 (published about 2 months ago)
- Last Synced: 2026-03-04T03:05:07.203Z (27 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Maintainers (1)
Dependencies
- 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
- keyring *
- makefun *
- nox *
- setuptools_scm *
- toml *
- 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