pytest plugin for generating HTML reports
Project description
pytest-html-cn
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
生成报告如下
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_html_cn-3.1.3.tar.gz
(22.4 kB
view hashes)