Command-line client for The Coverage Space.
Python Makefile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
coveragespace
docs
tests
.appveyor.yml
.coveragerc
.gitattributes
.gitignore
.pycodestyle.ini
.pydocstyle.ini
.pylint.ini
.python-version
.scrutinizer.yml
.travis.yml
.verchew.ini
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
MANIFEST.in
Makefile
README.md
mkdocs.yml
pyproject.lock
pyproject.toml
scent.py

README.md

Unix: Unix Build Status Windows: Windows Build Status
Metrics: Coverage Status Scrutinizer Code Quality
Usage: PyPI Version

Overview

The official command-line client for The Coverage Space.

Setup

Requirements

  • Python 2.7+ or Python 3.3+

Installation

The client can be installed with pip:

$ pip install --upgrade coveragespace

or directly from the source code:

$ git clone https://github.com/jacebrowning/coverage-space-cli.git
$ cd coverage-space-cli
$ python setup.py install

Usage

To update the value for a test coverage metric:

$ coveragespace <owner/repo> <metric>

For example, after testing with code coverage enabled:

$ coveragespace owner/repo unit

will attempt to extract the current coverage data from your working tree and compare that with the last known value. The coverage value can also be manually specified:

$ coveragespace <owner/repo> <metric> <value>