diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-05-17 13:27:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-05-17 13:27:30 +0000 |
commit | 7bdca0c0aa809200e8edc11a852dee79cb46690f (patch) | |
tree | ea0d72925cbfd4108052f0b3c67e7ee0c2d314ba /utils/test/result_collection_api/run_test.sh | |
parent | 137ef7912881dc6ebb3cf93ed6f2d6d3cd8fadfa (diff) | |
parent | 892a693978fa78c8091e861e246e859d20fe99c4 (diff) |
Merge "add unittest framework for supporting unittest in testAPI"
Diffstat (limited to 'utils/test/result_collection_api/run_test.sh')
-rw-r--r-- | utils/test/result_collection_api/run_test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/run_test.sh b/utils/test/result_collection_api/run_test.sh new file mode 100644 index 000000000..6006fcf8b --- /dev/null +++ b/utils/test/result_collection_api/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 ./tests/unit" +python -m testtools.run $testrargs
\ No newline at end of file |