DEV Community

Discussion on: Don't Mock What You Don't Own

Collapse
 
markschweiger15 profile image
Mark Schweiger

I agree with Paweł.
From my experience, avoiding mocks on some tests turns them into integration tests and that's not always the goal when doing TDD.
I do like the idea of having wrappers, but that doesn't reduce the need for mocking completely when dealing with 3rd party libs.

Great article!