Mustafa Berkay Mutlu

37%
Flag icon
The most common reason for problematic interaction tests is an over reliance on mocking frameworks. These frameworks make it easy to create test doubles that record and verify every call made against them, and to use those doubles in place of real objects in tests. This strategy leads directly to brittle interaction tests, and so we tend to prefer the use of real objects in favor of mocked objects, as long as the real objects are fast and deterministic.
Software Engineering at Google: Lessons Learned from Programming Over Time
Rate this book
Clear rating
Open Preview