Skip to main content

robotframework-okw-env-docker

Docker Compose provider for okw-env.

Deutsche Version: README_de.md

What

Implements the OKW Environment Provider Contract using Docker Compose. Generates docker-compose.yml from YAML component definitions and manages the full container lifecycle (create, start, health check, logs, snapshot, stop, destroy).

Why — Signal vs. NOISE

Docker Compose syntax is NOISE. The tester only writes:

ENV_Start        PostgresDB
ENV_BuildAndRun
ENV_WaitForReady PostgresDB

The framework generates the Compose file, starts the container, and polls the health check. No Docker knowledge required in test code.

Install

pip install robotframework-okw-env-docker

This automatically installs robotframework-okw-env (core) and robotframework-docker (Docker Compose engine).

Component YAML

PostgresDB:
  provider: docker
  image: postgres
  version: "17"
  port: 5432
  env:
    POSTGRES_DB: testdb
    POSTGRES_PASSWORD: testpass
  healthcheck: "pg_isready -U postgres"
  timeout: 30s

Minimal Example

*** Settings ***
Library    okw_env.library.OkwEnvLibrary    components_dir=components    WITH NAME    ENV

*** Test Cases ***
Database Is Reachable
    ENV_Start        PostgresDB
    ENV_BuildAndRun
    ENV_WaitForReady    PostgresDB
    Log    PostgresDB is ready for testing.
    [Teardown]    ENV_Stop

Architecture

okw-env (keywords, YAML loader, registry)
    │
    ▼
okw-env-docker (this library)
    │
    ▼
DockerComposeLibrary (robotframework-docker)
    │
    ▼
Docker Compose CLI → Docker Engine

Documentation

Metadata

Release files for robotframework-okw-env-docker 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-okw-env-docker 0.1.1
File Size Uploaded
robotframework_okw_env_docker-0.1.1.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-okw-env-docker 0.1.1
File Interpreter ABI Platform
robotframework_okw_env_docker-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / robotframework_okw_env_docker-0.1.1.tar.gz

Download URL robotframework_okw_env_docker-0.1.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
59b2966299e831fa4ba7c1bbeb223047d21c79590e34c9ec34b3b19142f9485a
BLAKE2b-256 checksum
How to use checksums
dbc4dc8425174d9a74e032167af4fb70145cc877d9d0f52192a7bb229cd3baaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / robotframework_okw_env_docker-0.1.1-py3-none-any.whl

Download URL robotframework_okw_env_docker-0.1.1-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ef1d173cb587079db41014805453ba29918f5ff4a15b55088f0657f2c20797c
BLAKE2b-256 checksum
How to use checksums
d8228045f78056a5b7bbe33e5f9038297d9acc86c29f9da6dfdf8ec229c6cf82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page