Skip to content

Robot Framework library for testing with Docker containers and Docker Compose

License

Notifications You must be signed in to change notification settings

vogoltsov/robotframework-docker

Repository files navigation

image

image

image

RobotFramework Docker

Short Description

Robot Framework library for working with docker and docker-compose.

Installation

Installation using pip

pip3 install robotframework-docker

Installation from sources

python3 setup.py install

Example

*** Settings ***
Documentation           DockerComposeLibrary tests.
Library                 DockerComposeLibrary
Library                 RequestsLibrary
Test Setup              Docker Compose Up
Test Teardown           Docker Compose Down


*** Test Cases ***
Start Apache Web Server
    ${service} =        Get Exposed Service  httpd  80
    Log To Console      http has started and is available at http://${service.host}:${service.port}

License

Apache License 2.0