Re:Database mocks are just not worth it
by nerdponx on Monday December 30, 2024 @08:54PM
(#42555603)
Mocking out a repository is IMO a lot less bad than mocking out an actual database connection. That's probably one of the biggest arguments in favor of the repository pattern: the ability to replace the repository with a test double of some kind.
[ Parent
| on HN ]
There are no comments on this comment yet.