Skip to main content

pytest plugin for generating HTML reports

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_html_cn-3.1.3.tar.gz (22.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page