django-dev-test

Installation
SKILL.md

Django Testing Patterns

pytest-django testing with factory_boy for fixture management.

Core Principles

  1. pytest only - Never use Django's TestCase
  2. factory_boy - Use factories for all test data
  3. Mirror structure - Tests mirror app structure
  4. Isolation - Each test fully isolated
  5. Fast fixtures - Prefer @pytest.fixture over setUp

Installation

pip install pytest pytest-django factory-boy pytest-cov

Configuration

Installs
37
GitHub Stars
14
First Seen
Jan 25, 2026
django-dev-test — sergio-bershadsky/ai