Skip to main content

pytest-html-cn

Languate - Python PyPI - License PyPI PyPI - Downloads

pytest-html中文版,用于pytest测试执行后,生成HTML测试报告。

安装方法

pip install pytest-html-cn

使用方式

test_demo.py

def test_a():
    pass
    
def test_b():
    pass

使用方法

pytest test_demo.py --html=测试报告.html

生成报告如下

pytest-html-cn

Release files for pytest-html-cn 3.1.3

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-html-cn 3.1.3
File Size Uploaded
pytest_html_cn-3.1.3.tar.gz 22.4 kB Details

Release files / pytest_html_cn-3.1.3.tar.gz

Download URL pytest_html_cn-3.1.3.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
54bc7b1f7bceafc32898bd23930b77f4cc2d3731bd0c8dddfac62b4bea5f9383
BLAKE2b-256 checksum
How to use checksums
6b6d2cbf124da3ad23ed2e58440ae87e48f20a5dc2e1c81e8725d447a395ec91
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

3.1.3 This release

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