Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins f5af15c87c 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: I8cc9dbd7b77a69155a4b9c4fdb373accb0d92e69
2019-03-01 11:10:02 +01:00
James Page 286111285f Add unit tests for service status 2015-10-06 21:15:38 +01:00