Commit Graph

3 Commits

Author SHA1 Message Date
Paul Goins 6523b4e706 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: I9666e922f158cb244319d4d7c057f4292c03e21b
2019-03-01 14:43:10 +01:00
James Page 51084da554 Recover hooks testing, tweak coverage settings 2013-07-18 09:54:13 +01:00
James Page b85c4684cf Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00