dockerr

A simple python package to manage external testing of docker containers


Keywords
docker, testing, containers, pytest
License
MIT
Install
pip install dockerr==0.2.1

Documentation

Code style: black Imports: isort linting: pylint Checked with mypy

PyPI - Version PyPI - Python Version Coverage Status

dockerr

Important

Happy to update that I got this framework cabablities merged into testcontainers-python (Checkout the PR)
This Repo will hopefully (oneday) be reporposed into something new 😃

Description

This is a python framwork for running docker containers in order to test them. Fox example: you can run a container, test something while its still running and the framework will take care of cleaning up afterwards. It's designed to be simple and easy to use.

Installation

pip install dockerr

Usage

from dockerr.runner import DockerRunner

with DockerRunner(tag, name, ports, path, dockerfile=DOCKER_FILE):
    # Do something

Status

This is an early version of the framework and it's still under development.

Deprecated - please see note above

Examples

Please checkout the samples folder for more examples.