Commit Graph

3 Commits

Author SHA1 Message Date
Paul Goins ee365b91cd 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: I893d5d283780d7bece9e6d16d4e58bbf45189596
2019-03-01 14:43:39 +01:00
Adam Collard 1655d722f9 Move swift helpers out of hooks, into lib for re-use by more than just hooks 2015-09-07 14:44:04 +01:00
James Page c080b4f7cc [Michael Nelson] Fixup templates for essex release, add template unit tests for changes
[James Page] Add standard unit test fixtures for openstack charms
2013-11-18 11:16:28 +00:00