Robot Framework library providing OKW environment provisioning with Docker.
Project description
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
- CONTRACT.md — How this provider implements the contract
- SPECIFICATION.md — Lifecycle, isolation, snapshot model
- KEYWORDS.md — Keyword reference with examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_okw_env_docker-0.1.0.tar.gz.
File metadata
- Download URL: robotframework_okw_env_docker-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
636b9446b1a4d7c88fcad4740895188d955f7021ad0dda228a235141d81fc627
|
|
| MD5 |
c6f6d9e048727e3e02906340aadeb4fb
|
|
| BLAKE2b-256 |
aaf2c1320a736d94ac8698a56c3509bb718997a75a99e54ecf1f1dd8ba28698b
|
File details
Details for the file robotframework_okw_env_docker-0.1.0-py3-none-any.whl.
File metadata
- Download URL: robotframework_okw_env_docker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
701e79d8192c59df5a31c1c80248a531181e2fde4130c7d3db2a9246bc5b8e66
|
|
| MD5 |
77aed29da5d286c519b98c4ce011d319
|
|
| BLAKE2b-256 |
373cab83ce7e003e3470977f24b4a6fe00622d40205e5a6fc4d01a08072736ff
|