polyfactory: Stop Hand-Writing Test Fixtures, Let Type Hints Do It
Originally published at recca0120.github.io
Preparing fake data for tests is its own kind of overhead.
To test a user system, you need to build a User object — fill in id, email, name, created_at. If you're testing orders, you need an Order, which co...
recca0120.hashnode.dev3 min read