Commit Graph

3 Commits

Author SHA1 Message Date
Paul Goins 1c71b1c969 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: Ia32b6c0b2ff61a2775e34b2958982f0ae11cdd8d
2019-03-01 14:39:22 +01:00
Alberto Donato 9850443aa6 Move charmhelpers to separate dir. 2015-08-25 15:26:22 +03:00
Andres Rodriguez efb3f5a85d really add coveragerc 2013-08-14 18:56:40 -04:00