Public Repository

Last pushed: a year ago
Short Description
Basic implementation of RobotFrameWork. Test suites and results in known directories.
Full Description


Based on the official python:27 container, Robot Framework 3 is installed, with no additional libraries.
Ideal container for building more customised images from to implement as part of a test harness.

example Dockerfile

FROM stevedore/robot-basic1:V1.0
ADD requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

Data in and out

robot-basic1 uses 3 volumes:


On the Host create a directory. Copy all the test suites into it. Create an argument file called tests2run.robot which lists the suites in desired execution order, one per line.

Running a Test Suite

Pull the image or build your own customised version

 docker pull stevedore/robot-basic1 

From within the folder, run the container. it will shut down after the scripts finish executing.

  docker run -v $PWD:/TESTSCRIPTS -v $PWD/REPORT:/RESULT stevedore/robot-basic1

The folder "REPORT"will be created , and contain the three standard output files from Robot Framework.

  • report.html
  • log.html
  • output.xml

    Custom Libraries

    If custom libraries are required place them in a child folder CLIBRARY then add a third volume option to the docker run command


    Arguments file

    Must be called tests2run.robot
    The arguments file is used to order the test suite execution. All test suite files must be in the same directory as the arguments file. In addition, robot command line options cam be passed in the file.
    The -P --python-path and -d outfile directory must not be used, these are set with the execution command within the container, but - x xunit.xml , --name test_set_name could be set, as well as - v variable:value.
    example file:

    --name MY_Test_Run
    - x xunitout.xml
Docker Pull Command