diff options
author | Joshua Powers <mrpowersj@gmail.com> | 2016-10-20 15:49:59 -0600 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-10-28 18:51:04 -0400 |
commit | c12f4dd835077e3aa39e9056c25f136ff6a6655b (patch) | |
tree | 9a7f33445ab4147826cd1e20cf611c856efd2b94 /tox.ini | |
parent | f7a5756205ef726d95259e06b7c46ff0ef82ea28 (diff) | |
download | vyos-cloud-init-c12f4dd835077e3aa39e9056c25f136ff6a6655b.tar.gz vyos-cloud-init-c12f4dd835077e3aa39e9056c25f136ff6a6655b.zip |
Add coverage collection to tox unit tests.
First step in increasing coverage is knowing what coverage
is currently at. By default, tox only runs coverage on py3 as it
is slower to run with coverage.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,9 @@ setenv = [testenv:py3] basepython = python3 +commands = {envpython} -m nose \ + {posargs:--with-coverage --cover-erase \ + --cover-branches --cover-package=cloudinit --cover-inclusive} [testenv:py26] commands = nosetests {posargs:tests} |