Overview

The official command-line client for The Coverage Space.

Unix Build Status Windows Build Status Coverage Status Scrutinizer Code Quality PyPI Version PyPI License

Setup

Requirements

  • Python 3.5+

Installation

Install this library directly into an activated virtual environment:

$ pip install coveragespace

or add it to your Poetry project:

$ poetry add coveragespace

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>