diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-05 15:55:54 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-05 23:37:41 +0800 |
commit | f93579f7f651c73e32a4951a0578aaed54f1b421 (patch) | |
tree | 354a0d64b425a45f670b4c09e11a045e05006797 | |
parent | 9d78055ecd2d717a9260ca002aacf672d5cc2933 (diff) |
Add test coverage
Change-Id: I9bff5fb1be3edc57d27cfe44f210a2814efd2274
JIRA: QTIP-204
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r-- | test-requirements.txt | 2 | ||||
-rw-r--r-- | tox.ini | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 8ab640cc..43efcfe6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,4 +6,6 @@ pytest pykwalify mock pip_check_reqs +coverage +pytest-cov tox @@ -11,11 +11,12 @@ skipsdist = True usedevelop = True install_command = pip install -U {opts} {packages} deps = - -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt + -rrequirements.txt + -rtest-requirements.txt commands= py.test \ --basetemp={envtmpdir} \ + --cov qtip --cov-report term-missing --cov-report html \ {posargs} setenv= HOME = {envtmpdir} |