pytest-circleci-coverage
A pytest plugin that works with pytest-cov to generate coverage data for CircleCI's Smarter Testing.
Usage
Install the plugin via git.
python -m pip install pytest-circleci-coverage
Install pytest-cov.
Run pytest with coverage and the --circleci-coverage flag to generate coverage JSON.
pytest --cov --cov-context=test --circleci-coverage=coverage.json
Development
Running tests
Install the plugin locally in editable mode.
pip install --editable .
Run tests.
pytest
To generate the coverage.json, used in the CI integration test.
circleci testsuite "integration test" --local --analyze-tests="all" && cat coverage.json | jq --sort-keys > coveragetmp.json && mv coveragetmp.json coverage.json
Metadata
Release files for pytest-circleci-coverage 0.3.883
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_circleci_coverage-0.3.883.tar.gz | 6.7 kB | Without provenance | Details for pytest_circleci_coverage-0.3.883.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_circleci_coverage-0.3.883-py3-none-any.whl | Python 3 | none | any | Details for pytest_circleci_coverage-0.3.883-py3-none-any.whl |
Total release size: 15.3 kB
Release files / pytest_circleci_coverage-0.3.883.tar.gz
| Download URL | pytest_circleci_coverage-0.3.883.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
490d8e4ba496288aa23527b9323e868c3b263e73e6d36eeae238aee47902c360
|
|
BLAKE2b-256 checksum How to use checksums |
fe4214b590b51c22635114df6a1d528050484d6ec303e15da3080576ff13c9d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / pytest_circleci_coverage-0.3.883-py3-none-any.whl
| Download URL | pytest_circleci_coverage-0.3.883-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70ac134399d74aae98d61721df6b4adb0882fb0be977189e2c964174f8773a1b
|
|
BLAKE2b-256 checksum How to use checksums |
134e5cd38c0e6d75784dd3fe3f2713f477b7ed6319f08b1f209e92c8d0765b7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for pytest-circleci-coverage 0.3.883
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.