diff options
author | Hou Jingwen <houjingwen@huawei.com> | 2015-09-14 02:26:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-09-14 02:26:14 +0000 |
commit | d4cfd8c43bd7c00ab07123d7886fc95f0a2ce6cc (patch) | |
tree | 15525f0f881dd23a4ece3455597dd7eb1990f0ca | |
parent | 3ec57cabfd94ee8257e1935751afed7e1731a3ea (diff) | |
parent | 54b9abc7b2b36a4b10e5cfd52006545f6686f93a (diff) |
Merge "add coverage report in Jenkins for Yardstick."
-rw-r--r-- | .coveragerc | 7 | ||||
-rw-r--r-- | .testr.conf | 4 | ||||
-rw-r--r-- | tests/__init__.py | 0 |
3 files changed, 11 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..07ca20984 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,7 @@ +[run] +branch = True +source = yardstick + +[report] +ignore_errors = True +precision = 3 diff --git a/.testr.conf b/.testr.conf new file mode 100644 index 000000000..126233527 --- /dev/null +++ b/.testr.conf @@ -0,0 +1,4 @@ +[DEFAULT] +test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./tests/unit $LISTOPT $IDOPTION +test_id_option=--load-list $IDFILE +test_list_option=--list diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/__init__.py |