pyunit的好html报告

fly*_*ire 9 html python python-unittest

你知道一个为pyunit创建漂亮的html报告的工具吗?

cod*_*ape 9

我建议如下:

  1. 使用鼻子运行测试
  2. 创建一个以HTML格式输出结果的鼻子插件.nose示例代码有一个简单的HTML输出插件(https://raw.github.com/nose-devs/nose/master/examples/html_plugin/htmlplug.py).您可以使用它,至少作为起点.

鼻子插件文档:http://nose.readthedocs.org/en/latest/index.html

另外一个选项: