File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,17 @@ java -cp "target/javafxlibrary-<version>.jar" org.robotframework.RobotFramework
8484* Docker-compose: https://docs.docker.com/compose/install/
8585* VNC port: vnc://localhost:5900
8686
87- ### Running the demo
87+ ### Running the demo with testing env
88881. Build & Start Dockerized Environment: `docker-compose up -d robot-framework javafxcompile`
89892. Take VNC connection to: <i>vnc://<docker_daemon_ip>:5900</i>
90903. Password is: 1234
91914. Open shell by right clicking in VNC desktop and selecting Applications > Shells > Bash
92- 5. Execute tests: `robot --include smoke -d /robot/results /robot/acceptance`
93-
94- Remote server and tests run in separate containers, and their GUIs are forwarded to the VNC container.
92+ 5. Execute tests: `test.sh`
93+
94+ FYI:
95+ Single testcase execution in locale and remote (replace spaces with _ ):<br>
96+ `test.sh all '--include tag_name' '-t test_case_name'`<br>
97+ Single suite execution in locale and remote (replace spaces with _ ):<br>
98+ `test.sh all '--include tag_name' '-s suite_name'`
99+ <br>
100+ NOTE: smoke tag is default included.
Original file line number Diff line number Diff line change 22EXIT_VALUE=0
33
44function local() {
5+ echo " **********************"
56 echo " INFO: Local execution:"
67 file=$( ls -1 /javafxbinary/javafxlibrary-* -jar-with-dependencies.jar)
7- java -cp " ${file} " org.robotframework.RobotFramework -d /robot/results/local --include smoke $@ /robot/acceptance
8+ java -cp ${file} org.robotframework.RobotFramework -d /robot/results/local --include smoke $@ /robot/acceptance
89# $@ #just to testing script
910 if [[ " $? " != " 0" ]]; then
1011 EXIT_VALUE=$(( EXIT_VALUE+ 1 ))
1112 fi
1213}
1314
1415function remote() {
16+ echo " ***********************"
1517 echo " INFO: Remote execution:"
1618 robot -d /robot/results/remote --include smoke $@ /robot/acceptance
1719# $@ #just to testing script
@@ -38,6 +40,8 @@ case $1 in
3840 ;;
3941 * )
4042 echo " ERROR:$@ is not supported parameter"
43+ echo " Supported parameters: local, remote, all, demo ...and same with capitals"
44+ echo " From README.md more info about usage"
4145 EXIT_VALUE=$(( EXIT_VALUE+ 4 ))
4246 ;;
4347esac
You can’t perform that action at this time.
0 commit comments