Commit Graph

2 Commits

Author SHA1 Message Date
Paul Goins 8e77f1f61b 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: I05541dfb69ddf2f2999a7b9f7659927df5c4ef56
2019-03-01 14:42:34 +01:00
Adam Gandelman f7b057ca60 Check in start of py redux. 2013-08-01 20:42:16 -07:00