Pytest安装介绍--使用(html报告)

Pytes是 一个单元测试框架,可以生成html报告。

安装:cmd--pip3 install -u pytest

验证成功安装:pytest --versiom 

会展示当前已安装版本

命令行执行:pytest -s xxx.py

猜你喜欢

转载自www.cnblogs.com/zenghongfei/p/11787731.html