HTMLTestRunner 报告框架使用

HTMLTestRunner 报告框架使用

file_path = base_path + '/Report/report.html'
with open(file_path, 'wb') as f:
	runner = HTMLTestRunner.HTMLTestRunner(stream=f, title="this is test", description="Mushishi test")
	runner.run(add_case())
f.close()
posted @ 2019-08-25 14:25  呱呱禅  阅读(287)  评论(0)    收藏  举报