[Biopython-dev] Online tools to track our test coverage & code quality

Peter Cock p.j.a.cock at googlemail.com
Thu Nov 26 17:06:40 UTC 2015

On Thu, Nov 26, 2015 at 4:01 PM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> Hi all,
> I've just been looking at https://codecov.io/ for logging unit test coverage,
> which can be used an add on on top of the GitHub and TravisCI with just
> a few small changes to the .travis.yml file ...

I'd forgotten about another option in this area, https://coveralls.io

> ---
> On a related note, some of you may be aware of https://landscape.io/
> which does a related job of assessing Python code quality using flake8
> and other tools which Tiago setup for us in December last year:
> https://landscape.io/github/biopython/biopython
> ...
> --
> Would people be in favour of using badge icons in the main README file
> to show the master branch's current TravisCI, coverage, etc status?
> Making this information more prominent might help encourage us
> to get the test coverage and code metrics up ;)

Most of these services offer their own badges which are largely visually
consistent - shields.io seems to be a meta-service if you really care
about having pixel consistent images.

Landscape health score
e.g. https://landscape.io/github/biopython/biopython/master/badges

CodeCov https://codecov.io/github/codecov/codecov-python/features/badges
e.g. https://codecov.io/github/peterjc/biopython/coverage.svg?branch=codecov
or https://img.shields.io/codecov/c/github/peterjc/biopython/codecov.svg

Or, if we register the official repository with them,

TravisCI build results https://docs.travis-ci.com/user/status-images/
e.g. https://travis-ci.org/biopython/biopython.svg?branch=master

Latest version on PyPI https://badge.fury.io/for/py/biopython
e.g. https://badge.fury.io/py/biopython.svg
or via http://shields.io/
e.g. https://img.shields.io/pypi/v/biopython.svg

Daily PyPI downloads and more from http://shields.io/
e.g. https://img.shields.io/pypi/dd/biopython.svg


More information about the Biopython-dev mailing list