django-tdd - Apply TDD testing strategies to Django
Provides Django testing guidance with pytest-django, factory_boy, mocking, coverage, and Django REST Framework API testing.
Tags
Updated: 2026-10-07Capabilities
Typical Outputs
What this skill does
- Configure pytest Django tests
- Apply red-green-refactor cycles
- Create model factories
- Test models and views
- Test DRF APIs
- Configure coverage reporting
Inputs
- Django application code
- Testing targets
- Project test settings
Outputs
- Test code
- Test configuration
- Test results
- Coverage reports
Requirements
- Python environment
- Django project
- pytest
- pytest-django
- factory_boy
- Django REST Framework
