From b0b119356b130b82c39c6c811369f002cc571614 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Thu, 1 Oct 2015 13:06:17 +0100 Subject: [PATCH 1/2] Normalize test output name. Update toolshed, casperjs, and framework tests to produce reports with the name of run__tests.html to match functional and API tests. --- run_tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 14b38ad0dc5..c9013644bde 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -138,7 +138,7 @@ do ;; -t|-toolshed|--toolshed) test_script="./test/tool_shed/functional_tests.py" - report_file="./test/tool_shed/run_functional_tests.html" + report_file="run_toolshed_tests.html" if [ $# -gt 1 ]; then toolshed_script=$2 shift 2 @@ -162,6 +162,7 @@ do fi ;; -f|-framework|--framework) + report_file="run_framework_tests.html" framework_test=1; shift 1 ;; @@ -172,6 +173,7 @@ do -j|-casperjs|--casperjs) # TODO: Support running casper tests against existing # Galaxy instances. + report_file="run_casperjs_tests.html" casperjs_test=1; shift ;; From 49740caaa2cf00e1eeb8bfdef1939638256103a0 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Thu, 1 Oct 2015 13:44:20 +0100 Subject: [PATCH 2/2] Add documentation for running casperjs tests through run_tests.sh. Add option to run a specific test. Verified xunit reports work and --dockerize works for casperjs tests. --- run_tests.sh | 15 ++++++++++++--- test/casperjs/casperjs_runner.py | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index c9013644bde..cce3eae0a62 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -24,7 +24,7 @@ cat <