Skip to content
Snippets Groups Projects
Commit 956fd841 authored by srosse's avatar srosse
Browse files

OO-280: update documentation

parent dc8837ac
No related branches found
No related tags found
No related merge requests found
...@@ -67,20 +67,16 @@ junit and integration tests in OpenOLAT 8 ...@@ -67,20 +67,16 @@ junit and integration tests in OpenOLAT 8
* Execute selenium functional integration tests * Execute selenium functional integration tests
----------------------------------------- -----------------------------------------
- Selenium functional tests on GUI layer that load OpenOLAT with Arquillian in a Tomcat 7.0.27 managed by Arquillian - Selenium functional tests on GUI layer that load OpenOLAT with Arquillian in a Tomcat 7.0.27 managed by Arquillian
mvn -Parquillian clean package mvn package
mvn -Parquillian surefire:test
- The selenium test results can be found at target/failsafe-reports/SeleniumTesting72x/*
- It is recommended to use a Jenkins setup to administrate the test results. The Selenium results have the same format as the junit test protocols
* Execute a single selenium functional integration test in Eclipse * Execute a single selenium functional integration test in Eclipse
----------------------------------------- -----------------------------------------
- Start Eclipse, refresh project and wait until Eclipse is finished with refreshing and compiling - Start Eclipse, refresh project and wait until Eclipse is finished with refreshing and compiling
- In a shell run the following command to start the test cluster: - Run the maven build to fill the libraries (The deployment take all the libraries from the standard build process)
mvn verify -Pseleniumtests,debug | tee /tmp/mvn72x.log | grep execution mvn clean package
- Wait until the servers have started (in the log /tmp/mvn72.log an information appears that the server can be stopped with Crl-C) - In Eclipse right-click a selenium testcase and select "run in jUnit"
- In Eclipse right-click a selenium testcase form src/test/java/org/olat/test/functional/* and select "run in jUnit"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment