pyunit 的漂亮 html 报告
你知道一个为 pyunit 创建漂亮的 html 报告的工具吗?
Do you know a tool for creating nice html reports for pyunit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
你知道一个为 pyunit 创建漂亮的 html 报告的工具吗?
Do you know a tool for creating nice html reports for pyunit?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我建议如下:
Nose插件文档:http://nose.readthedocs.org/en/latest/ index.html
另一种选择:
nosetests --with-xunit
。 这将在当前目录中生成一个nostests.xml
文件。I suggest the following:
Nose plug-in documentation: http://nose.readthedocs.org/en/latest/index.html
Another option:
nosetests --with-xunit
. This will produce anostests.xml
file in the current directory.有一个为pyunit开发的简单HTMLTestRunner,这里是 链接
它的缺点是没有输出在控制台中,因为 sys.stdout 和 sys.stderr 被 HTMLTestRunner 捕获。 除了上面的以外,其他的对我来说都很好。
there has a simple HTMLTestRunner developed for pyunit, here is link
The shortage of it is there are no output in console, because sys.stdout and sys.stderr was captured by HTMLTestRunner. Except above, others works fine to me.