Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins eccdf2a3b7 Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: Id18c5c0121def3dbd55435cb085dd949e207e25a
2019-03-01 14:39:51 +01:00
yolanda.robla@canonical.com b8e4ff3c32 added tests 2013-11-27 13:06:15 +01:00