This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A place to track your code coverage metrics.

Project Description

Unix: Windows: Metrics: Usage:

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 coverage.space

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:

$ coverage.space <owner/repo> <metric>

For example, after testing with code coverage enabled:

$ coverage.space 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:

$ coverage.space <owner/repo> <metric> <value>

Revision History

0.8 (2017/04/16)

  • Added slash requirement to <owner/repo> slug argument.
  • Added automatic coverage report launching when coverage decreases.

0.7.2 (2017/03/11)

  • Allow coverage to be disabled with DISABLE_COVERAGE.

0.7.1 (2017/03/11)

  • Delayed coverage loading until needed to allow faster exits.

0.7 (2017/01/31)

  • Added --reset command to reset all coverage metrics.

0.6.3 (2016/09/30)

  • Fixed dependency on coverage.

0.6.2 (2016/09/29)

  • Updated API call to use SSL.

0.6.1 (2016/09/16)

  • Added no-op when running on CI services.

0.6 (2016/09/12)

  • Added no-op when running on CI services.

0.5 (2016/09/09)

  • Added logging to debug errors with the --version option.
  • Added retry logic in cases where the API returns server errors.

0.4 (2016/08/22)

  • Added client-side caching to reduce network traffic.
  • Added an option to always display coverage metrics.

0.3.1 (2016/08/19)

  • Fixed terminal width detection.

0.3 (2016/07/30)

  • Added Windows support.

0.2 (2016/04/16)

  • Added the option to return non-zero exit codes.

0.1.1 (2016/02/06)

  • Added Python 2.7 support.

0.1 (2016/02/06)

  • Initial release.
Release History

Release History

This version
History Node

0.8

History Node

0.8b4

History Node

0.8b3

History Node

0.8b2

History Node

0.8b1

History Node

0.7.2.post4

History Node

0.7.2.post3

History Node

0.7.2.post2

History Node

0.7.2.post1

History Node

0.7.2

History Node

0.7.1

History Node

0.7.1b1

History Node

0.7

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1.1

History Node

0.1

History Node

0.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
coverage.space-0.8-py2-none-any.whl (15.4 kB) Copy SHA256 Checksum SHA256 py2 Wheel Apr 17, 2017
coverage.space-0.8.tar.gz (13.7 kB) Copy SHA256 Checksum SHA256 Source Apr 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting