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

https://travis-ci.com/vogoltsov/robotframework-docker.svg?branch=master

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

pip3 install robotframework-docker
python3 setup.py install
*** 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}

Apache License 2.0