Skip to main content

Pytest fixures for running tests with Docker containers

Project description

PyDocks

PyDocks is a group of pytest fixures for running tests with Docker containers

Demonstration:

...

Table of Contents

Description

PyDocks is a Python library that provides a set of pytest fixtures for running tests with Docker containers. It simplifies the process of setting up, managing, and tearing down Docker containers during test execution.

Key features include:

  • Easy integration with pytest
  • Support for PostgreSQL containers
  • Automatic container cleanup
  • Configurable container settings
  • Reusable session-scoped containers for improved test performance

PyDocks is designed to make testing with Docker containers more efficient and less error-prone, allowing developers to focus on writing tests rather than managing infrastructure.

Installation

# Install the dependency
pip install pydocks
uv add pydocks
poetry add pydocks

Usage

from pydocks import pydocks

License

PyDocks is released under the MIT License. See the LICENSE file for more details.

Contact

For questions, suggestions, or issues related to ReAttempt, please open an issue on the GitHub repository.

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

pydocks-0.0.1.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

pydocks-0.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pydocks-0.0.1.tar.gz.

File metadata

  • Download URL: pydocks-0.0.1.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pydocks-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1d93f1dc4d3e2bbd9296b2758217c2a5344dac5f71d2d3afef845f0c35b2930f
MD5 af56c9d8e42907a8f051c120c5778f30
BLAKE2b-256 f13a9473321585b04a5dce1fb9ce2c96ea79871ea6bfdacf5ea4e2df08c5dc27

See more details on using hashes here.

File details

Details for the file pydocks-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pydocks-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pydocks-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 298d7310eaa509fd66492d9cd10ed09d9bd5c3d3b3ac875f15c98515bac7a354
MD5 30559e74d1874aec0d461c0d3426304c
BLAKE2b-256 069845e78a488c78c1fbfd8b9b709c97384847b7d0653ef67e7cc88533dd15c9

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