Overuse Mocking
Definition:
The problem is using too many mocks. Although mocks are inevitable in cases, you should be aware of the dark side of mocking. It could cause a false negative case, and the defect can only be found when it’s too late.
Code Example:
No code examples yet…
References:
Quality attributes
- Code Example
- Cause and Effect
- Frequency
- Refactoring