diff --git a/scripts/test_all_case.sh b/scripts/test_all_case.sh new file mode 100644 index 0000000000000000000000000000000000000000..eb07741b6267177388a27b53231b4cf2778b8e30 --- /dev/null +++ b/scripts/test_all_case.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -o errexit + +base_path=$(cd `dirname $0`/..; pwd) +test_case_path=${base_path}/tests + +export PYTHONPATH=$base_path:$PYTHONPATH +cd ${base_path} +pip install -r requirements.txt +cd ${test_case_path} + +# only run python test case +for test_file in `ls | grep \.py` +do + python $test_file +done