def main():
start=time.time()
pytest.main(['-v','--tb=short','--html='+path+'/files//结果文件/test_report.html','--self-contained-html',path+'/test_compare_data.py'])
print('耗时:', time.time
pytest基础 html报告 内容打印 参数 -v --tb-short
最新推荐文章于 2023-03-07 23:46:10 发布