会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
心有事焉勿助勿忘
博客园
首页
主题
心有事焉 勿忘勿助
博客园
首页
新随笔
联系
管理
2021年3月5日
python测试覆盖率
摘要: 安装 pytest pytest-cov pip install pytest pytest-cov 参考: pytest-cov官方文档 pytest官方文档 执行测试 假如已经写了test_mock.py这个测试文件 执行pytest test_mock.py --cov=test_mock -
阅读全文
posted @ 2021-03-05 16:20 成民
阅读(196)
评论(0)
推荐(0)
编辑