摘要:
如果要在报告中加入每一个测试用例执行的logging信息,则需要改HTMLTestRunner的源码 1、初始化定义logging信息, class _TestResult(TestResult): # note: _TestResult is a pure representation of re 阅读全文
摘要:
#!/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 阅读全文