Commit Graph

4 Commits

Author SHA1 Message Date
Paul Goins b7c4897438 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: I8f4885575187bedf580f3e1963382a18b197638b
2019-03-01 14:43:49 +01:00
Adam Collard 3c16a54741 Add actions.actions to coverage measuring and reporting. 2015-08-11 09:27:28 +01:00
Adam Collard c92b586f3d Fix paths for coverage configuration to account for move to lib.
s/nosesetests/nosetests/
2015-08-11 09:09:29 +01:00
Adam Gandelman a9fb83be8a Update to 100% coverage. 2013-07-19 13:44:37 -07:00