python2.7 unittest/coverage

https:/www.cnblogs.com/coderzh/archive/2009/12/01/pythoncoverage.html
仅仅四步即实现代码覆盖率的统计功能

python2.7 -m pip install coverage

unittest相关

https://docs.python.org/zh-cn/3.7/library/unittest.html

发表评论