Skip to main content

通过 coveralls.io 在线显示覆盖率统计数据

项目描述

测试状态
https://img.shields.io/circleci/project/github/TheKevJames/coveralls-python/master.svg?style=flat-square&label=CircleCI https://img.shields.io/travis/TheKevJames/coveralls-python/master.svg?style=flat-square&label=TravisCI https://img.shields.io/github/workflow/status/TheKevJames/coveralls-python/coveralls/master?style=flat-square&label=Github%20Actions https://img.shields.io/coveralls/TheKevJames/coveralls-python/master.svg?style=flat-square&label=Coverage
版本信息
https://img.shields.io/conda/v/conda-forge/coveralls?style=flat-square&label=Conda https://img.shields.io/pypi/v/coveralls.svg?style=flat-square&label=PyPI https://img.shields.io/conda/dn/conda-forge/coveralls?label=Conda%20Downloads&style=flat-square https://img.shields.io/pypi/dm/coveralls.svg?style=flat-square&label=PyPI%20Downloads
兼容性
https://img.shields.io/pypi/pyversions/coveralls.svg?style=flat-square&label=Python%20Versions https://img.shields.io/pypi/implementation/coveralls.svg?style=flat-square&label=Python%20Implementations
杂项
https://img.shields.io/docker/cloud/build/thekevjames/coveralls?style=flat-square&label=Docker https://img.shields.io/readthedocs/coveralls-python?style=flat-square&label=Docs

coveralls.io是一项在线发布您的覆盖率统计数据的服务。这个包在你的 Python 项目中提供了与coverage.py(以及pytestnosetests等)的无缝集成:

pip install coveralls
coverage run --source=mypkg -m pytest tests/
coveralls

有关更多信息和使用说明,请参阅我们的文档

版本兼容性

从 2.0 版开始,我们不再支持 Python 的报废版本,尤其是旧版本的覆盖范围。对非 EOL 环境的支持是在尽力而为的基础上提供的,一旦它们使维护变得过于困难,通常会被删除。

如果您在一个过时的环境中运行,并且有足够新的包管理器来支持版本检查(请参阅PyPA 文档),那么安装最新的兼容版本应该可以解决问题。如果您比这更过时,请固定到工作服<2

如果您在过时的环境中遇到问题,请随时开票 - 但请提及您的环境!如果需要,我愿意将修复移植到 1.x 分支。

下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

coveralls-3.3.1.tar.gz (18.0 kB 查看哈希)

已上传 source

内置分布

coveralls-3.3.1-py2.py3-none-any.whl (14.7 kB 查看哈希

已上传 py2 py3