Skip to main content

pytest-owner

Languate - Python PyPI - License PyPI PyPI - Downloads

为用例增加归属人owner标记,运行用例时可以使用--owner指定用例归属人运行。

安装方法

pip install pytest-owner

使用方式

# filename: test_pytest_owner.py
@pytest.mark.owner('hzc')
def test_a():
    pass
    
@pytest.mark.owner('superhin')
def test_b():
    pass

使用以下命令指定归属人运行,支持指定多个归属人

pytest test_pytest_owner.py --owner=hzc --owner=superhin

另外,该插件提供了额外的名为owner的Fixture函数,以共获取当前指定的owner列表。

Release files for pytest-status 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-status 0.1.1
File Size Uploaded
pytest_status-0.1.1.tar.gz 3.5 kB Details

Release files / pytest_status-0.1.1.tar.gz

Download URL pytest_status-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2d0864d9624fa67e51f0beea206046faf742059d1d7f72f45fae302431da0408
BLAKE2b-256 checksum
How to use checksums
4decdea2835ecb9faecebf7478563254ee6e7835c05c0c9b1f65520e0f1a7327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page