Add status mark for tests
Project description
pytest-status
为用例增加用例状态s标记,运行用例时可以使用--status指定用例状态运行。
安装方法
pip install pytest-status
使用方式
# filename: test_pytest_status.py
import pytest
@pytest.mark.status('ready')
def test_a():
pass
@pytest.mark.status('implement')
def test_b():
pass
使用以下命令指定归属人运行,支持指定多个归属人
pytest test_pytest_status.py --status=ready
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest_status-0.1.0.tar.gz
(3.5 kB
view details)
File details
Details for the file pytest_status-0.1.0.tar.gz
.
File metadata
- Download URL: pytest_status-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09bc9e6b6e054aa5f307d49970338485174038f5464f31e98fda809c76b918e5 |
|
MD5 | 8c592aac057114b83aa8b8fba8189ee4 |
|
BLAKE2b-256 | d89ba4fc14c80bf2356af1b90d676564594126da68daec6376f867ac825ee8e0 |