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.

Files for pytest-docker-py, version 1.1.3
Filename, size File type Python version Upload date Hashes
Filename, size pytest_docker_py-1.1.3-py3-none-any.whl (8.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytest-docker-py-1.1.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page