The best takeaway here is: if you write your code pure, you don't need mocks.
Where you still would need mocks is e.g. I/O -> don't mock,
https://twitter.com/itoche/status/921661062067388416
1 reply
but write an integration test there.
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
The best takeaway here is: if you write your code pure, you don't need mocks.
Where you still would need mocks is e.g. I/O -> don't mock,
https://twitter.com/itoche/status/921661062067388416
but write an integration test there.