diff --git a/utilities/acceptance-tests/example.acceptance_tests.properties b/utilities/acceptance-tests/example.acceptance_tests.properties new file mode 100644 index 00000000..efd75455 --- /dev/null +++ b/utilities/acceptance-tests/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 = ../../.build/acceptance-tests-output +user_extensions_path = /vitro/utilities/testrunner/selenium/user-extensions.js +firefox_profile_template_path = +suite_timeout_limit = 240 +selenium_jar_path = /vitro/utilities/testrunner/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 = 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 = suites/ignored_tests.txt +summary_css_file = suites/output_summary.css \ No newline at end of file diff --git a/utilities/acceptance-tests/suites/output_summary.css b/utilities/acceptance-tests/suites/output_summary.css new file mode 100644 index 00000000..b313edc4 --- /dev/null +++ b/utilities/acceptance-tests/suites/output_summary.css @@ -0,0 +1,67 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + +/* + Formats for the output summary from the acceptance tests. +*/ +body { + background: rgb(95%, 95%, 95%); + font-family: sans-serif; +} + +.heading { + border: groove; + background: white; + padding: 10px 20px 8px 20px; + margin-top: 50px; + font-size: large; +} + +table { + border: thin double gray; + background: white; +} + +td,th { + padding: 4px 12px 2px 12px; +} + +th { + border-bottom: 1px solid black; +} + +table.summary { + border: none; + background: inherit; +} + +table.summary td { + padding-right: 30; + border: none; + vertical-align: top; +} + +.section { + background: rgb(70%, 85%, 85%); + font-size: larger; + margin: 50px 0px 15px 0px; + padding: 4px 12px 2px 12px; +} + +.good { + background: rgb(60%, 100%, 60%); +} + +.bad { + background: rgb(100%, 60%, 60%); +} + +.fair { + background: rgb(100%, 100%, 60%); +} + +.one-word { + width: 20%; + text-align: center; + margin: 15px 0px 0px 0px; + border: 1px solid black; +} \ No newline at end of file