pytest-iteration
为用例增加用例状态s标记,运行用例时可以使用--iteration指定用例状态运行。
安装方法
pip install pytest-iteration
使用方式
# filename: test_pytest_iteration.py
import pytest
@pytest.mark.iteration('v2.0.0')
def test_a():
pass
@pytest.mark.iteration('v2.1.0')
def test_b():
pass
使用以下命令指定迭代运行,支持指定多个迭代
pytest test_pytest_iteration.py --iteration=v2.0.0
Metadata
Release files for pytest-iteration 0.1.0
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_iteration-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for pytest_iteration-0.1.0.tar.gz |
Release files / pytest_iteration-0.1.0.tar.gz
| Download URL | pytest_iteration-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef7df97b95a7d0d38e8cdc412f8b9936ad3923b9549d9edb5dfab8f645113ea5
|
|
BLAKE2b-256 checksum How to use checksums |
899d861bac563c5d7fe26817dd20ba51b2e6a756aa43595a9901613d7375b68f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.6
|
Security for pytest-iteration 0.1.0
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.