git.dotya.ml robotframework testing
This repository has been archived on 2022-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
wanderer 6ab8699e4d
chore: sed 's/hourly/daily/g' regarding rebuild frequency
* the subject image is now being rebuilt less frequently so note that in the README.md
* [skip ci]
2020-11-06 11:18:40 +01:00
.drone.yml refactor: mv test29 test00 + updated .drone.yml and docs 2020-07-11 11:32:23 +02:00
.gitignore feat: updated .gitignore 2020-07-01 17:21:37 +02:00
LICENSE feat: added LICENSE file 2020-06-23 02:34:23 +02:00
README.md chore: sed 's/hourly/daily/g' regarding rebuild frequency 2020-11-06 11:18:40 +01:00
docs chore: finalised the docs 2020-07-13 11:40:03 +02:00
m-test00.robot refactor: concluded series of updates due to Gitea changes 2020-07-12 20:26:06 +02:00
m-test01.robot added more tests, updated .drone.yml accordingly 2020-05-12 14:33:18 +02:00
m-test02.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
m-test03.robot feat: improved test logic 2020-06-10 22:46:31 +02:00
m-test04.robot add: non-bogus m-test04 content 2020-06-12 23:00:50 +02:00
m-test05.robot feat: added content to m-test05 2020-06-14 02:21:49 +02:00
m-test06.robot feat: added m-test06 2020-06-19 20:16:59 +02:00
m-test07.robot refactor: minor improvements 2020-06-23 01:29:17 +02:00
m-test08.robot feat: added m-test08 2020-06-19 20:40:03 +02:00
m-test09.robot refactor: log anyway, fail later 2020-06-23 01:32:18 +02:00
m-test10.robot fix: templating forgot about the TC names 2020-06-20 16:30:55 +02:00
m-test11.robot fix: templating forgot about the TC names 2020-06-20 16:30:55 +02:00
m-test12.robot feat: added m-test12 2020-06-21 02:16:16 +02:00
m-test13.robot feat: added m-test13 + updated .drone.yml 2020-06-21 02:23:57 +02:00
m-test14.robot feat: added m-test14 + .drone.yml 2020-06-21 02:27:11 +02:00
m-test15.robot feat: added m-test15 + .drone.yml 2020-06-21 02:44:37 +02:00
m-test16.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
m-test17.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
m-test18.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
m-test19.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
runtests.plz.sh feat: added a bash script to optionally run the tests without drone 2020-07-17 20:53:11 +02:00
silly.windows.bat.trololol.bat refactor: mv test29 test00 + updated .drone.yml and docs 2020-07-11 11:32:23 +02:00
test00.robot refactor: concluded series of updates due to Gitea changes 2020-07-12 20:26:06 +02:00
test01.robot fix: to use ${DELAY} you gotta *have* ${DELAY} 2020-05-21 22:34:49 +02:00
test02.robot refactor: don't sleep 2020-05-21 22:30:11 +02:00
test03.robot fix: while this is not severe, variables are to be *used* rip me 2020-06-14 22:59:14 +02:00
test04.robot feat: renamed element + used variable instead of raw value 2020-06-12 23:00:14 +02:00
test05.robot fix: use proper variables 2020-06-14 02:20:58 +02:00
test06.robot fix: while this is not severe, variables are to be *used* rip me 2020-06-14 22:59:14 +02:00
test07.robot feat: improved console logging for test07 && test09 2020-06-23 01:29:53 +02:00
test08.robot refactor: saner place and time for a check 2020-06-19 20:41:03 +02:00
test09.robot fix: misleading information output to the console 2020-06-23 01:32:40 +02:00
test10.robot refactor: continuation of 6d697a8 2020-06-20 16:16:10 +02:00
test11.robot refactor: continuation of 6d697a8 2020-06-20 16:16:10 +02:00
test12.robot feat: added test12 - .drone.yml dependency chain adjusted 2020-05-28 20:35:43 +02:00
test13.robot feat: added test13 - .drone.yml dependency chain adjusted 2020-05-28 20:38:56 +02:00
test14.robot feat: added test14 - .drone.yml dependency chain adjusted 2020-05-28 20:43:57 +02:00
test15.robot feat: added relevant content to test15 2020-06-10 23:04:31 +02:00
test16.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
test17.robot refactor: due to Gitea updates (8b428454 follow-up) 2020-07-12 17:40:31 +02:00
test18.robot refactor: element locator updates + added longer timeouts 2020-07-12 17:26:35 +02:00
test19.robot refactor: element locator updates + added longer timeouts 2020-07-12 17:26:35 +02:00
test_hierarchy.mermaid.js feat: added manual test specs + updated .drone.yml accordingly 2020-07-06 02:08:07 +02:00
test_hierarchy.png feat: added manual test specs + updated .drone.yml accordingly 2020-07-06 02:08:07 +02:00

TSO-SW

Build Status

this repo holds the sawce files for the TSO semestral work

hierarchy

test_hierarchy

preferred workflow

  • using a container image with robotframework, selenium, chromium and chromedriver preinstalled, such as alpine-rf or archlinux-rf

Note: you may need to run some of the following commands as root. You can as well learn how not to here.

get a container and run it

fetch an image from a central container repository (by default it's DockerHub) using

docker pull immawanderer/alpine-rf:latest

the alpine-rf image is being rebuilt on an hourly on a daily basis, so I recommend updating frequently.

run the container in interactive mode, mounting user's $PWD into container's /testing folder, removing the container after exiting (so that it doesn't take up space) while preserving the work done (saved on the shared volume)

docker run --rm -it -v $PWD:/testing immawanderer/alpine-rf:latest

run robot tests

as the WORKDIR of the image used in this example is set to the /testing folder, all that's left is to prepare a results directory inside there

❄ root@alpine-rf /testing
➜ mkdir -p /testing/results

then simply run the test(s)

❄ root@alpine-rf /testing
➜ robot -T -d results test00.robot

or (when using the alpine-rf image) run all of the above as a designated test user rf (uid=1000) instead of root

❄ root@alpine-rf /testing
➜ su rf
/testing $ mkdir -pv results
/testing $ robot -T -d results test00.robot

mermaid.js

the diagram under hierarchy was generated using this mermaid.js code