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.7+

Installation

Install this tool globally with pipx (or pip):

$ pipx install coveragespace

or add it to your Poetry project:

$ poetry add coveragespace

Usage

To update the value for a test coverage metric:

$ coveragespace update <metric>

where <metric> is one of:

  • unit
  • integration
  • overall

For example, after running unit tests with code coverage enabled:

$ coveragespace update unit

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

$ coveragespace update <metric> <value>