pytest-mark-count
Get a count of the number of tests marked, unmarked, and unique tests if tests have multiple markers
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
Features
Key |
Description |
|---|---|
total_found_items |
Total number of discovered tests |
marked_found_items |
Total number of discovered tests that are marked |
unmarked_found_items |
Total number of discovered tests that are unmarked |
single_marked_found_items |
Total number of discovered tests that only have 1 mark |
multi_marked_found_items |
Total number of discovered tests that have more than 1 mark |
unique_marked_searched_items |
Total number of tests discovered based on provided mark(s) |
single_marked_searched_items |
Total number of tests discovered based on provided mark(s) that only have 1 mark |
multi_marked_searched_items |
Total number of tests discovered based on provided mark(s) that have more than 1 mark |
“mark” |
Total number of tests discovered based on that provided mark (each mark will have its own line) |
Store values in metadata together or seperately
Requirements
See requirements.txt
Installation
You can install “pytest-mark-count” via pip from PyPI:
$ pip install pytest-mark-count
Usage
$ –mark-count=”it”
$ –mark-count=”it vt”
$ –mark-count-sep=True
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Dual License:
Distributed under the terms of both the BSD-3 AND Mozilla Public License 2.0 licenses.
“pytest-mark-count” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for pytest-mark-count 0.5.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_mark_count-0.5.1.tar.gz | 28.5 kB | With provenance | Details for pytest_mark_count-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_mark_count-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for pytest_mark_count-0.5.1-py3-none-any.whl |
Total release size: 46.3 kB
Release files / pytest_mark_count-0.5.1.tar.gz
| Download URL | pytest_mark_count-0.5.1.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d7bfcc9fb539a079475b599293c2d4d6291e9aa9c87e128e67980236ade9720
|
|
BLAKE2b-256 checksum How to use checksums |
7f1df8782eb85ad106d5d2ba0167cfff6144a704389ee2b9eced48787ce7849c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 Nov 13, 2024.
Transparency logRelease files / pytest_mark_count-0.5.1-py3-none-any.whl
| Download URL | pytest_mark_count-0.5.1-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a8872f015917bc6981225f18e7301c646cc0971973b1a749f702f2925679c9
|
|
BLAKE2b-256 checksum How to use checksums |
0d4af4e242f7f1b47e764bd6890ec5b5b8677edc8eb0d5c1972ac4e8c9cc5a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 Nov 13, 2024.
Transparency logSecurity for pytest-mark-count 0.5.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
Both files in this release have been uploaded with provenance metadata.
Attestation for pytest_mark_count-0.5.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 Nov 13, 2024.
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.