Skip to main content

Easy to use, simple to extend, pytest plugin that minimally leverages docker-py.

Project description

pytest-docker-py Build Status Coverage Status

  • Easy to use, simple to extend, external pytest plugin that minimally leverages docker-py.

1. Introduction

  • A plugin that keeps it simple and lets you:

    • pull images - if not already pulled.
    • start containers - with various, optional, parameters - i.e. ports; networks; volumes; commands.
    • stop containers.
  • See test/integration/ for a working example.

2. Installation

  • pip install pytest-docker-py



3. Development / PR - on Ubuntu 18.04

3.1. Create Virtual Environment

  • ./

3.2. Unit Tests

  • ./

3.3. Integration Tests

  • ./

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-docker-py-1.1.3.tar.gz (3.7 kB view hashes)

Uploaded source

Built Distribution

pytest_docker_py-1.1.3-py3-none-any.whl (8.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page