文件名称:pytester-cov
文件大小:4KB
文件格式:ZIP
更新时间:2024-04-08 15:08:23
Shell
pytester-cov 强制单个文件,全部文件或全部和全部最小化pytest覆盖率。也可以选择排除目录和文件。 使用的Python软件包 可选输入 pytest-root-dir 根目录以递归方式搜索.py文件 默认情况下pytest --cov不会递归运行,但是会在这里运行 cov-omit-list 要忽略的目录和/或文件列表 cov-threshold-single 如果任何单个文件覆盖率小于阈值,则失败 cov-threshold-total 如果总覆盖范围小于阈值,则失败 产出 output-table 力量 pytest --cov markdown输出表 cov-threshold-single-fail 布尔值 false ,如果任何单个文件覆盖率低于cov-threshold-single ,否则true cov-threshold-total-fail 布尔值
【文件预览】:
pytester-cov-main
----.coveragerc(35B)
----Dockerfile(128B)
----action.yml(1KB)
----README.md(5KB)
----entrypoint.sh(3KB)