DEV Community

Discussion on: Code Smell 135 - Interfaces With just One Realization

 
explorer14 profile image
Aman Agrawal

Interfaces for external dependencies allow you the flexibility of using either a test double or a real implementation without much overhead. Arguing about that is a moot point.

There is a lot to be said about levels and granularity of testing but that's not this post!

Thread Thread
 
mcsee profile image
Maxi Contieri

Right! there also a lot of test smells, many on this series and many others to come!