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()
原文地址:https://www.cnblogs.com/521world/p/11407820.html