2 ms·
I think the author meant something different than how you read it. It sounds like you might agree. He is saying that if you have to mock a lot of dependencies t
by o_nate 2y ago
I think the author meant something different than how you read it. It sounds like you might agree. He is saying that if you have to mock a lot of dependencies then that is a red flag. Code that is easy to test (without writing a ton of mocks) will also be modular.