diff --git a/utilities/testrunner/build.xml b/utilities/testrunner/build.xml new file mode 100644 index 000000000..4060cbbd8 --- /dev/null +++ b/utilities/testrunner/build.xml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + +all - Runs "clean", then "run". +clean - Delete all artifacts so the next build will be from scratch. +compile - Compile the Java source files. +test - Compile and run the JUnit tests. +run - Run the tester. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/utilities/testrunner/example.acceptance_tests.properties b/utilities/testrunner/example.acceptance_tests.properties new file mode 100644 index 000000000..d4fd569e8 --- /dev/null +++ b/utilities/testrunner/example.acceptance_tests.properties @@ -0,0 +1,37 @@ +# +# These properties tell how to set up Selenium to run a test suite. +# +website_url = http://localhost:8080/vivo/ +suite_parent_directories = suites +output_directory = output +user_extensions_path = selenium/user-extensions.js +firefox_profile_template_path = +suite_timeout_limit = 240 +selenium_jar_path = selenium/selenium-server.jar + +# +# These properties are needed to cleanse the data model between test suites. +# +# -- Windows commands for Tomcat - require startup.bat and shutdown.bat, which may not be part of the installation. +#tomcat_stop_command = "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\bin\\shutdown.bat" +#tomcat_start_command = "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\bin\\startup.bat" +# +# -- Linux commands for Tomcat +#tomcat_stop_command = /usr/local/tomcat/bin/shutdown.sh +#tomcat_start_command = /usr/local/tomcat/bin/startup.bat + +tomcat_stop_command = "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\bin\\shutdown.bat" +tomcat_start_command = "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\bin\\startup.bat" +tomcat_stop_delay = 10 +tomcat_start_delay = 30 +mysql_username = vivoUser +mysql_password = vivoPass +mysql_dumpfile = /eclipseVitroWorkspace/vivo/utilities/acceptance-tests/test-model/testmodeldump.sql +mysql_db_name = vivo +upload_directory = /Vivoweb_Stuff/test_deploy/uploads + +# +# These properties control the output formatting of the tests. +# +ignored_tests_file = /eclipseVitroWorkspace/vivo/utilities/acceptance-tests/suites/ignored_tests.txt +summary_css_file = /eclipseVitroWorkspace/vivo/utilities/acceptance-tests/script/output_summary.css \ No newline at end of file diff --git a/utilities/testrunner/lib/junit-4.8.1.jar b/utilities/testrunner/lib/junit-4.8.1.jar new file mode 100644 index 000000000..524cd65ce Binary files /dev/null and b/utilities/testrunner/lib/junit-4.8.1.jar differ