BigHugger
sk Skill · affaan-m

django-tdd

Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs. Use when writing Django or DRF tests with pytest-django, or driving a Django feature test-first.

installs 8w
1,850
30-day movement
starts with the next reading
Related entries
7
Connections
0
pythoninibashJavaScript

A SKILL.md that loads Django test-driven development guidance into an AI coding agent. It covers pytest-django setup, the red-green-refactor cycle, factory_boy, mocking, coverage, and DRF serializer and ViewSet testing.

Reach for it when you want the agent to write Django or DRF tests with pytest-django or drive a feature test-first.

Use it to

  • Set up pytest-django configuration and conftest.py
  • Write model, view, and serializer tests
  • Test DRF ViewSet endpoints
  • Mock external services and email sending
  • Configure coverage and follow testing do/don't rules

For Developers writing Django or DRF applications with tests

Host repository
affaan-m/ECC
Installs, lifetime
3,100
Installs, 8 weeks
1,850
Host stars
261k
Host language
JavaScript
topicsdjangotestingtddpytestdrffactory-boy