Welcome to pytest-test-groups!
pytest-test-groups allows you to split your test runs into groups of a specific size to make it easier to split up your test runs.
Usage
# Install pytest-test-groups pip install pytest-test-groups # Split the tests into 10 groups and run the second group py.test --test-group-count 10 --test-group=2 # Assign tests pseudo-randomly into 10 groups, and run the second group py.test --test-group-count 10 --test-group=2 --test-group-random-seed=12345 # Split the tests by files instead of items into 3 groups and run the second group. # The groups might not be in the same size as each group contains full test files py.test --test-group-count 10 --test-group=2 --test-group-by filename
Why would I use this?
Sometimes you may have some long running test jobs that take a while to complete. This can be a major headache when trying to run tests quickly. pytest-test-groups allows you to easily say “split my tests into groups of 10 tests and run the second group”. This is primarily useful in the context of CI builds.
Metadata
Release files for pytest-test-groups 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_test_groups-1.2.1.tar.gz | 8.1 kB | With provenance | Details for pytest_test_groups-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_test_groups-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for pytest_test_groups-1.2.1-py3-none-any.whl |
Total release size: 13.4 kB
Release files / pytest_test_groups-1.2.1.tar.gz
| Download URL | pytest_test_groups-1.2.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67576b295522fc144b3a42fa1801f50ae962389e984b48bab4336686d09032f1
|
|
BLAKE2b-256 checksum How to use checksums |
9f5ac7874fe15e03d86a1109a3274b57a2473edb8a1dda4a4d27f25d848b6ff5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2025.
Transparency logRelease files / pytest_test_groups-1.2.1-py3-none-any.whl
| Download URL | pytest_test_groups-1.2.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c7a016448f9ad347fb69a62f417f0a2358ecbf129fe44bc44ee991918a0bb73
|
|
BLAKE2b-256 checksum How to use checksums |
31ff7ff0ca5e8051931bf7fb65e31f085f7c0577615bf3a4776fb583cb471800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2025.
Transparency logSecurity for pytest-test-groups 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pytest_test_groups-1.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.