From e91c97929075ed898c87b0abe713eef0b4ea1907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Fern=C3=A1ndez=20de=20la=20Cigo=C3=B1a=20N=C3=B3vo?= =?UTF-8?q?a?= Date: Thu, 25 Aug 2011 11:17:04 +0200 Subject: [PATCH] Include file all_data_type_test.suite which allow run all data type test new file: scripts/functional-tests/data-types/all_data_type_test.suite testrunner.sh was modified to allow run tests just one by one FEA: ItEr75S18DataTypesTests --- .../functional-tests/data-types/all_data_type_test.suite | 7 +++++++ scripts/functional-tests/testrunner.sh | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 scripts/functional-tests/data-types/all_data_type_test.suite diff --git a/scripts/functional-tests/data-types/all_data_type_test.suite b/scripts/functional-tests/data-types/all_data_type_test.suite new file mode 100644 index 000000000..949df111f --- /dev/null +++ b/scripts/functional-tests/data-types/all_data_type_test.suite @@ -0,0 +1,7 @@ +progress_test.sah http://localhost:8080/navalplanner-webapp/ +criteria_test.sah http://localhost:8080/navalplanner-webapp/ +unit_measures_test.sah http://localhost:8080/navalplanner-webapp/ +label_test.sah http://localhost:8080/navalplanner-webapp/ +work_report_model.sah http://localhost:8080/navalplanner-webapp/ +exception_days_test.sah http://localhost:8080/navalplanner-webapp/ +work_hours_test.sah http://localhost:8080/navalplanner-webapp/ diff --git a/scripts/functional-tests/testrunner.sh b/scripts/functional-tests/testrunner.sh index 5072a02d6..2b98533d1 100755 --- a/scripts/functional-tests/testrunner.sh +++ b/scripts/functional-tests/testrunner.sh @@ -4,8 +4,8 @@ then echo "Usage: testrunner.sh " echo "File path is relative to /scripts/functional-tests" echo "Example:" -echo "testrunner.sh data-types/all_tests.suite http://localhost:8080/navalplanner-webapp " -echo "testrunner.sh data-types/progress_test.sah http://localhost:8080/navalplanner-webapp " +echo "./testrunner.sh data-types/all_data_type_test.suite http://localhost:8080/navalplanner-webapp " +echo "./testrunner.sh data-types/progress_test.sah http://localhost:8080/navalplanner-webapp " else . ./sahi-common-env.sh @@ -14,7 +14,7 @@ export USERDATA_DIR=$SAHI_HOME/userdata/ export SCRIPTS_PATH=`pwd`/$1 export BROWSER=$3 export START_URL=$2 -export THREADS=2 +export THREADS=1 export SINGLE_SESSION=false java -cp $SAHI_HOME/lib/ant-sahi.jar net.sf.sahi.test.TestRunner -test $SCRIPTS_PATH -browserType "$BROWSER" -baseURL $START_URL -host localhost -port 9999 -threads $THREADS -useSingleSession $SINGLE_SESSION fi