No project description provided
Project description
pytest-testreport
1、pytest-testreport介绍
pytest-testreport是一个针对pytest的生成html报告的插件,使用起来非常简单,只需要再pytest.ini文件中做简单的配置即可实现html报告的生成
####使用案例:
-
方式一:在pytest.ini文件加入如下配置,即可实现生成html报告
[report] file_name = report.html
-
方式二: pytest 运行测试时加上参数--report 指定报告文件名
pytest --report=musen.html
2、安装pytest-testreport
pytest-testreport是基于python3.6开发的,安装前请确认你的python版本>3.6
安装命令
pip install pytest-testreport
3、使用文档:
https://unittestreport.readthedocs.io/en/latest/doc9_pytest/
备注:
-
开发者:柠檬班—木森、柠檬班—雨泽
-
E-mail:musen_nmb@qq.com
-
大家在使用过程中发现bug,可以联系我,以便优化解决!
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
Built Distribution
Close
Hashes for pytest_testreport-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63544c998de1ac833edb30038645068086bf4fb36a7c832ea195bd9961fd3f35 |
|
MD5 | 955f2682224a8a0efad27de7818f4c79 |
|
BLAKE2b-256 | 3996a3d285f98f1df48e792deab3495a7bfa41cd35c0ebd985ef84a77ba959a4 |