coverage-space

A place to track your code coverage metrics.


Keywords
command-line, coverage
License
MIT
Install
pip install coverage-space==1.0.2.post1

Documentation

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>