diff options
Diffstat (limited to 'testapi/run_test.sh')
-rwxr-xr-x | testapi/run_test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testapi/run_test.sh b/testapi/run_test.sh new file mode 100755 index 0000000..9b25f8f --- /dev/null +++ b/testapi/run_test.sh @@ -0,0 +1,10 @@ +#! /bin/bash + +# Before run this script, make sure that testtools and discover +# had been installed in your env +# or else using pip to install them as follows: +# pip install testtools, discover + +find . -type f -name "*.pyc" -delete +testrargs="discover ./opnfv_testapi/tests/unit" +python -m testtools.run $testrargs |