Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins af19e67961 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: I2a14d3a3b0215aa637bc18e780d1ad765c796daa
2019-03-01 11:11:06 +01:00
James Page 74e831c061 Initial version of charm 2014-01-23 16:14:44 +00:00