Comment by slt2021
11 days ago
fully agree with you, mock is a shoehorn to fit unit tests into stateful monoliths with messed up dependencies that cross several stacks and reused in multiple modules.
with better separation of concerns and separation of compute from IO one should not need mocks.
only unit tests + integration e2e tests
No comments yet
Contribute on Hacker News ↗