TextTestRunner().run(suite) # 結束分析 cov.stop() # 結果保存 cov.save() # 命令行模式 ... 用法2:pytest --cov=src src即目標內全部文件的代碼.
確定! 回上一頁