{"enrichment":{"faq":[{"a":"django-tdd is a comprehensive skill for mastering test-driven development in Django projects. It teaches you to use pytest and factory_boy to build reliable models, views, and APIs through the red-green-refactor cycle. The skill covers test fixtures, factory patterns, and Django REST Framework testing, enabling you to write robust tests before implementing features.","q":"What is django-tdd and how does it help with Django testing?"},{"a":"django-tdd guides you through configuring pytest and factory_boy specifically for Django model and API testing. You'll learn to create test factories that generate model instances efficiently, set up pytest fixtures for reusable test data, and organize your test suite. This setup ensures consistent, maintainable tests across your Django projects.","q":"How do I set up pytest and factory_boy for Django model testing?"},{"a":"django-tdd covers comprehensive testing strategies for Django REST Framework, including how to test serializers, viewsets, and endpoints. You'll learn to use Django's test client to make API requests, validate responses, and test authentication and permissions. The skill emphasizes testing complete request-response cycles to ensure your API behaves correctly.","q":"What does django-tdd teach about testing Django REST Framework APIs?"},{"a":"django-tdd teaches you to test Django REST API endpoints using pytest fixtures, factory_boy for test data, and Django's API test client. You'll learn to structure tests for different HTTP methods, validate serializer output, and test viewset actions. The skill includes patterns for testing authentication, permissions, and error responses in your REST APIs.","q":"How can I test Django REST API endpoints with django-tdd?"},{"a":"Yes, django-tdd addresses mocking external services and measuring test coverage in Django projects. You'll learn to mock third-party APIs, database calls, and other dependencies to isolate your tests. The skill also covers setting up coverage tools to track which parts of your codebase are tested, helping you identify gaps.","q":"Does django-tdd cover mocking and test coverage measurement?"},{"a":"django-tdd teaches the red-green-refactor cycle, the core of test-driven development. You write a failing test (red), implement code to make it pass (green), then improve the code without breaking tests (refactor). This methodology, combined with pytest fixtures and factory patterns, ensures your Django applications are well-tested and maintainable from the start.","q":"What is the red-green-refactor cycle taught in django-tdd?"}],"shadow_tags":["red-green-refactor","test-automation","quality-assurance","backend-testing","api-validation","fixture-management","mock-patching","coverage-metrics","integration-tests","behavior-driven"],"summary_rewrite":"Master test-driven development for Django projects using pytest and factory_boy to build reliable models, views, and APIs. This skill covers the red-green-refactor cycle, test fixtures, factory patterns, and Django REST Framework testing."},"files":[{"bytes":20934,"path":"skills/django-tdd/SKILL.md","sha256":"28cc3578bb8136f9782ac03d000cdfd1d2fb86ea8b651b4210069aa988301b6b","url":"https://skillfed.io/files/affaan-m/ECC/django-tdd/bae3899a/SKILL.md"}],"id":"affaan-m/ECC/django-tdd","links":{"html":"https://skillfed.io/affaan-m/ECC/django-tdd","md":"https://skillfed.io/affaan-m/ECC/django-tdd.md","repo":"https://github.com/affaan-m/ECC"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":35692,"language":"JavaScript","last_updated":"2026-07-27","license":"MIT","name":"django-tdd","publisher":"affaan-m","stars":234207},"relations":{"similar":[{"id":"xu-xiang/everything-claude-code-zh/django-tdd"},{"id":"CuriousLearner/devkit/seed-data-generator"},{"id":"hieutrtr/ai1-skills/pytest-patterns"},{"id":"Gentleman-Programming/Gentleman-Skills/django-drf"},{"id":"bobmatnyc/claude-mpm-skills/pytest"},{"id":"bobmatnyc/claude-mpm-skills/django"},{"id":"manutej/luxor-claude-marketplace/pytest-patterns"},{"id":"patricio0312rev/skills/test-data-factory-builder"},{"id":"xu-xiang/everything-claude-code-zh/python-testing"},{"id":"dawiddutoit/custom-claude/pytest-async-testing"}]},"slug":{"owner":"affaan-m","repo":"ECC","skill":"django-tdd"},"version":"bae3899a"}
