Code Monkey home page Code Monkey logo

robot-framework-docker's Introduction

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 bash
cd 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 :)

robot-framework-docker's People

Contributors

ypasmk avatar dependabot[bot] avatar b4oshany avatar ap-wtioit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.