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

Metadata

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 Provenance Actions
pytest_html_cn-3.1.3.tar.gz 22.4 kB Without provenance Details for pytest_html_cn-3.1.3.tar.gz

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

Security for pytest-html-cn 3.1.3

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.

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