Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins db195e8e8b 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: I8e37015ffccaef6b30090eec8e1fa3837c1eabe0
2019-03-01 14:42:12 +01:00
Liam Young da61f646a3 Added nosetest config 2014-06-20 11:06:02 +01:00