1. 安装包

pip install coverage

2.启动程序

coverage run -m pytest

3.获取html格式的报告文件

coverage html

4.创建配置文件 .coveragerc

 

相关文章:

  • 2021-12-21
  • 2022-12-23
  • 2021-11-28
  • 2021-07-11
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2021-11-29
  • 2022-01-10
  • 2022-12-23
  • 2021-12-21
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案