python 学习2 测试报告

1. py.test test_class.py  --resultlog=./log.txt

2.生成html格式

py.test test_class.py --html=./report.html

原文地址:https://www.cnblogs.com/alamZ/p/6813724.html