Speaker Deck

[PyCon US 2016] To mock or not to mock, that is the question

by Ana Balica

Published May 30, 2016 in Programming

Mocking is a very powerful testing concept that has some dangerous pitfalls. There are obvious use cases where mocks are an absolute requirement to be able to test a part of the app. Nevertheless sometimes apparently useful mocks can yield erroneous test results. This talk goes into deeper detail on the trade-off of using mocks in testing.