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/test_plugin.py for a working example.

2. Installation

  • pip install pytest-docker-py

or

then

3. Development / PR - on Ubuntu 18.04

3.1. Create Virtual Environment

  • ./create-venv.sh

3.2. Unit Tests

  • ./run-unit-tests.sh

3.3. Integration Tests

  • ./run-integration-tests.sh

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.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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