Re:Database mocks are just not worth it
by withinboredom on Monday December 30, 2024 @08:39PM
(#42555526)
Generally, mocks are quite far away from what they are mocking. You might mock out a library, for example. I can guarantee you that the library author will not show up at your workplace to update your mocks.
And yes, people forget to write tests, sure, but even then it would be a time bomb without mocks.
Iām not a friend of mocks either, but most examples here are not really an issue with mocks.