PyCharm: Coverage in community edition?(PyCharm:社区版的覆盖范围?)
本文介绍了PyCharm:社区版的覆盖范围?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
AFAIK 功能测试覆盖率";仅在专业版中可用(
作为奖励,当受影响的文件发生更改时,测试将重新运行.
披露:我是这个插件的作者
AFAIK the feature "test coverage" is only available in the professional version (code-coverage).
How to see code coverage of my tests with the PyCharm community version?
解决方案
You can use PyCrunch plugin for this.
As a bonus, tests will rerun when impacted files change.
disclosure: I'm an author of this plugin
这篇关于PyCharm:社区版的覆盖范围?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!