Re:Mocking Is an Anti-Pattern
by sethammons on Monday June 17, 2024 @01:24PM
(#40708310)
My integration tests expect the db to run. If I need fixture data, those are sql and read in at the start of the suite. Each test uses its own temp db/tables and/or clears potentially old data before running.
[ Parent
| on HN ]
There are no comments on this comment yet.