python 学习2 测试报告

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

2.生成html格式

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

 

posted @ 2017-05-05 16:35  AlamZ  阅读(224)  评论(0)    收藏  举报