Use testr to run the unit tests.
Run unit tests with: ./setup.py testr
This commit is contained in:
parent
2e95bda5db
commit
fabcdf19c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@
|
||||
build
|
||||
dist
|
||||
heat_cfntools.egg-info/
|
||||
.testrepository/
|
||||
subunit.log
|
||||
|
4
.testr.conf
Normal file
4
.testr.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./heat_cfntools/tests $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
Loading…
x
Reference in New Issue
Block a user