Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins 14507e4ea7 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: Iadfc6d9775269a9ede7bd35c5c455342696ffce9
2019-03-01 14:38:55 +01:00
Edward Hope-Morley 199440c0df First commit of cinder-backup subordinate charm 2015-10-01 17:11:59 +01:00