摘要: 如果要在报告中加入每一个测试用例执行的logging信息,则需要改HTMLTestRunner的源码 1、初始化定义logging信息, class _TestResult(TestResult): # note: _TestResult is a pure representation of re 阅读全文
posted @ 2022-03-08 15:50 究极不吃香菜 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding: utf-8 -*- #coding=utf-8 import os """ A TestRunner for use with the Python unit testing framework. It generates a HTM 阅读全文
posted @ 2022-03-08 12:22 究极不吃香菜 阅读(118) 评论(0) 推荐(0) 编辑