summaryrefslogtreecommitdiff
path: root/.stestr.conf
diff options
context:
space:
mode:
authorWitold Bedyk <witold.bedyk@est.fujitsu.com>2018-07-02 13:20:05 +0200
committerWitold Bedyk <witold.bedyk@est.fujitsu.com>2018-07-30 10:37:34 +0200
commit9586972ddd50fab9a4d0349d91f8dcb125193cb7 (patch)
tree27900f6a280375b758d28f1f159b7bb3798fdc07 /.stestr.conf
parenta74978619ec8daa6a9b2aa2547e161694f31aca7 (diff)
downloadceilometer-9586972ddd50fab9a4d0349d91f8dcb125193cb7.tar.gz
Migrate to stestr for running tests
stestr is recommended by OpenStack Project Testing Interface for running tests [1]. This change migrates to stestr for running unit tests and coverage job. Modified `cover` env allows running it as Zuul job and visualising its results in Gerrit. [1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running Change-Id: I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1
Diffstat (limited to '.stestr.conf')
-rw-r--r--.stestr.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.stestr.conf b/.stestr.conf
new file mode 100644
index 00000000..d405a59e
--- /dev/null
+++ b/.stestr.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+test_path=${OS_TEST_PATH:-ceilometer/tests/unit}
+top_dir=./ \ No newline at end of file