django-tdd - Django testing with pytest and TDD
Provides Django testing strategies with pytest-django, TDD, factory_boy, mocking, coverage, and Django REST Framework API testing.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write pytest-django tests
- Apply red-green-refactor cycles
- Create model factories
- Test Django models
- Test Django views
- Test DRF APIs
- Configure test infrastructure
- Measure test coverage
Inputs
- Django project source code
- Feature requirements
- Test configuration
Outputs
- Test files
- Pytest test results
- Coverage reports
- Test configuration files
Requirements
- Django
- pytest
- pytest-django
- factory_boy
- Django REST Framework for DRF API testing
