覆盖率和分析器的组合?
我真的很喜欢 python 覆盖模块:
http://nedbatchelder.com/code/coverage/
以及它生成的 HTML 页面。是否可以将其与分析结合起来,以便人们可以看到覆盖率+分析的统一 HTML 报告。
提前致谢。
I really like the python coverage module:
http://nedbatchelder.com/code/coverage/
and the HTML pages it generates. Is there a combination of this and profiling so that one could see a unified HTML report of coverage+profiling.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
谢谢,计算员,很高兴您喜欢报道中的 HTML 输出。我从未做过任何将其与分析器结合起来的事情,也没有听说过其他人这样做。
当我创建 HTML 输出时,我的脑海中浮现出将其作为带有工具注释工具的通用源代码的想法,但是仅仅为了覆盖而构建它就足够了!
Thanks, reckoner, glad that you like the HTML output from coverage. I've never done anything to combine it with a profiler, and haven't heard of anyone else doing it either.
When I created the HTML output, I had in the back of my mind the idea of having it be a generalized source-code-with-tool-annotations facility, but it was enough work just getting it built only for coverage!