I have already visited Preferred Python unit-testing framework . I am not just looking at Python Unit Testing Framework, but also code coverage with respect to unit tests. So far I have only come across coverage.py . Is there any better option?
An interesting option for me is to integrate cpython , unit testing of Python code and code coverage of Python code with Visual Studio 2008 through plugins (something similar to IronPython Studio ). What can be done to achieve this? I look forward to suggestions.
我们使用这个Django覆盖集成 ,但是我们使用内置的tokenizer生成一些简单的HTML: Colorize Python源代码而不是使用默认的coverage.py报告。
PyDev seems to allow code coverage from within Eclipse.
I've yet to find how to integrate that with my own (rather complex) build process, so I use Ned Batchelder's coverage.py at the command line.
NetBeans的新Python支持紧密集成了代码覆盖支持 - 这里有更多信息 。
如果您想要交互式代码覆盖,您可以在其中实时更改覆盖率统计信息,请查看Python Coverage Validator 。
Testoob有一个简洁的“ --coverage
”命令行选项来生成覆盖率报告。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.