May 2018
Intermediate to advanced
300 pages
7h 35m
English
With the availability of several mocking frameworks, it is easier to get familiar with mocking concepts and create mocks for unit testing. However, a developer can start to over-mock, a situation where every object seems like a mock candidate. Also, having too many mocks can lead to writing fragile tests, making your tests prone to breaking when the interface changes. When you have too many mocks, this ends up slowing down the test suites and consequently increases development time.