What problem does it solve? Setting up real databases for integration tests requires manual container management, port handling, and cleanup. This Skill guides the use of pytest-databases fixtures so tests run against actual PostgreSQL, MySQL, Oracle, and other services without hand-rolled lifecycle code. ## Core Features & Use Cases - Ready-made service fixtures: Enable plugins like pytest_databases.docker.postgres in conftest.py and consume fixtures such as postgres_service and postgres_connection. - Parallel test isolation: Configure database-level or server-level isolation for pytest-xdist workers so parallel runs do not share schemas. - Configuration overrides: Customize images, passwords, and platforms (including ARM/Apple Silicon) via session-scoped fixtures or environment variables. - Use Case: Add pytest_plugins = ["pytest_databases.docker.postgres"] to conftest.py, then write an async test that inserts and queries rows through postgres_connection against a real containerized PostgreSQL instance. ## Quick Start Ask the AI to set up a PostgreSQL integration test using pytest-databases fixtures in your conftest.py and test files.