Ⅰ. 插件描述
Show coverage stats online via coveralls.ioⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'coagulant/coveralls-python'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'coagulant/coveralls-python'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'coagulant/coveralls-python'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/coagulant/coveralls-python
Ⅳ. 文档说明
Coveralls for Python
:Test Status:
.. image:: https://img.shields.io/circleci/project/github/coveralls-clients/coveralls-python/master.svg?style=flat-square&label=CircleCI
:target: https://circleci.com/gh/coveralls-clients/coveralls-python
.. image:: https://img.shields.io/travis/coveralls-clients/coveralls-python/master.svg?style=flat-square&label=TravisCI
:target: https://travis-ci.org/coveralls-clients/coveralls-python
.. image:: https://img.shields.io/github/workflow/status/coveralls-clients/coveralls-python/coveralls/master?style=flat-square&label=Github%20Actions
:target: https://github.com/coveralls-clients/coveralls-python/actions
.. image:: https://img.shields.io/coveralls/coveralls-clients/coveralls-python/master.svg?style=flat-square&label=Coverage
:target: https://coveralls.io/r/coveralls-clients/coveralls-python
:Version Info:
.. image:: https://img.shields.io/conda/v/conda-forge/coveralls?style=flat-square&label=Conda
:target: https://anaconda.org/conda-forge/coveralls
.. image:: https://img.shields.io/pypi/v/coveralls.svg?style=flat-square&label=PyPI
:target: https://pypi.org/project/coveralls/
.. image:: https://img.shields.io/conda/dn/conda-forge/coveralls?label=Conda%20Downloads&style=flat-square
:target: https://anaconda.org/conda-forge/coveralls
.. image:: https://img.shields.io/pypi/dm/coveralls.svg?style=flat-square&label=PyPI%20Downloads
:target: https://pypi.org/project/coveralls/
:Compatibility:
.. image:: https://img.shields.io/pypi/pyversions/coveralls.svg?style=flat-square&label=Python%20Versions
:target: https://pypi.org/project/coveralls/
.. image:: https://img.shields.io/pypi/implementation/coveralls.svg?style=flat-square&label=Python%20Implementations
:target: https://pypi.org/project/coveralls/
coveralls.io is a service for publishing your coverage stats online. This package provides seamless integration with coverage.py (and thus pytest, nosetests, etc...) in your Python projects::
pip install coveralls
coverage run --source=mypkg setup.py test
coveralls
For more information and usage instructions, see our documentation_.
.. _coveralls.io: https://coveralls.io/
.. _coverage.py: https://coverage.readthedocs.io/en/latest/
.. _documentation: http://coveralls-python.readthedocs.io/en/latest/