testing-database-code

Community

Guides for pgdbm tests: fixtures and patterns.

Authorjuanre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to testing pgdbm-based code by presenting a curated set of fixtures and usage patterns, removing guesswork from test setup.

Core Features & Use Cases

  • Fixture selection: Choose from predefined fixtures to isolate tests, speed up runs, and ensure proper cleanup.
  • Pattern guidance: Clear examples showing how to compose tests with fixtures, transactions, and migrations, including best practices for reusability.
  • Use Case: When writing tests for a module that uses pgdbm, use these fixtures to avoid manual database management and guarantee cleanup.

Quick Start

Use the provided fixtures via tests/conftest.py to structure tests for pgdbm-based code, following the fixture selection decision tree and usage patterns shown in the guide.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: testing-database-code
Download link: https://github.com/juanre/pgdbm/archive/main.zip#testing-database-code

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.