pytest-databases

Community

Database fixtures for pytest.

Authorcofin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies database integration testing in Python projects by providing ready-to-use fixtures for various databases within a pytest environment.

Core Features & Use Cases

  • Database Fixtures: Offers pre-configured fixtures for PostgreSQL, MySQL, MariaDB, Oracle, Redis, and more.
  • Docker Integration: Leverages Docker containers for isolated and reproducible database environments during tests.
  • Use Case: When writing tests for a web application that uses PostgreSQL, use this Skill to automatically spin up a temporary PostgreSQL instance, allowing your tests to interact with a real database without manual setup.

Quick Start

Use the pytest-databases skill to add PostgreSQL testing fixtures to your conftest.py file.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pytest-databases
Download link: https://github.com/cofin/flow/archive/main.zip#pytest-databases

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.