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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pytest-docker-py-1.1.3.tar.gz.

File metadata

  • Download URL: pytest-docker-py-1.1.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for pytest-docker-py-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c253ae3bd23e4d0437ec19049b27d65f9f20c48c8f9cdfc0b1875d85e0a675c3
MD5 27beb32e71cb372de39e6e92ae76db49
BLAKE2b-256 1cd6d50069fc195480513b53ad92bfded768207e6864a900cf62de565f3c5cd4

See more details on using hashes here.

File details

Details for the file pytest_docker_py-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: pytest_docker_py-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for pytest_docker_py-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3ef74aef6a45ecdf329b221b5c0dcadc05d722c8ab439ef12386fefcfc1cf1c0
MD5 fdcb3c06ba275da86368754e1c23d6c7
BLAKE2b-256 8e4378e7a028e5d03c1d506db8f65580a68c75c7866d47bec76bf8ae928503e7

See more details on using hashes here.

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