Skip to content
UPEEC

Faker, Factory Boy and freezegun

Generate realistic fake data, build test objects, and freeze time in tests.

Easy
Comments 0

Faker().name(); Factory Boy creates model instances; @freeze_time("2026-01-01") makes date-dependent code testable.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.