Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ypasmk/robot-framework-docker
Docker image to run robot framework acceptance testing in a docker container
https://github.com/ypasmk/robot-framework-docker
acceptance-testing docker robot robot-framework robot-framework-docker robot-test robotframework test-automation
Last synced: about 1 month ago
JSON representation
Docker image to run robot framework acceptance testing in a docker container
- Host: GitHub
- URL: https://github.com/ypasmk/robot-framework-docker
- Owner: ypasmk
- Created: 2017-12-22T22:42:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:05:30.000Z (almost 2 years ago)
- Last Synced: 2024-09-27T10:41:54.027Z (about 2 months ago)
- Topics: acceptance-testing, docker, robot, robot-framework, robot-framework-docker, robot-test, robotframework, test-automation
- Language: Dockerfile
- Homepage:
- Size: 37.1 KB
- Stars: 23
- Watchers: 4
- Forks: 29
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# robot-framework-docker
Quick Start
===========### Clone this repository
git clone [email protected]:ypasmk/robot-framework-docker.git
### Pull the image.
docker pull ypasmk/robot-framework
### Run the tests##### Method 1: use docker-compose
cd robot-framework-docker && docker-compose up
##### Method 2: use bashcd robot-framework-docker && ./run_tests.sh
NOTE
-----You can run the tests without cloning the repository by
creating a docker-compose.yml file with the following content:version: '3.3'
services:
test:
network_mode: host
image: ypasmk/robot-framework
shm_size: "256M"
environment:
USERNAME: Ipatios Asmanidis
volumes: [
"$PWD/output:/output",
"$PWD/suites:/suites",
"$PWD/scripts:/scripts",
"$PWD/reports:/reports"
]Afterwards, run the following command within the directory of
your docker-compose file:docker-compose up
Contents
========This image contains the following to facilitate robot testing
Xvfb
----You can use it to start a visual display and fire up a browser for UI testing.
Example (suites/virtual_display.robot):Start Virtual Display 1920 1080
Selenium2Library
----------------More details here http://robotframework.org/Selenium2Library/Selenium2Library.html
Also have a look at **suites/virtual_display.robot**
HttpLibrary.HTTP
----------------More details here https://github.com/peritus/robotframework-httplibrary
Example:
Create Http Context api.some-end-point.com
GET /some/service/that/supports/get
Verify Status 200
${response}= Get Response Body
[return] ${response}
robotframework-sshlibrary
-------------------------More details here http://robotframework.org/SSHLibrary/latest/SSHLibrary.html
robotframework-excellibrary
---------------------------More details here http://navinet.github.io/robotframework-excellibrary/ExcelLibrary-KeywordDocumentation.html
**ENJOY**
*For any requests or changes please open issues or create pull requests :)*