Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
956fd841
Commit
956fd841
authored
12 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-280: update documentation
parent
dc8837ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
TESTING.README.LATEST
+6
-10
6 additions, 10 deletions
TESTING.README.LATEST
with
6 additions
and
10 deletions
TESTING.README.LATEST
+
6
−
10
View file @
956fd841
...
@@ -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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment