Code sections
Published in

Code sections

Can we skip unit tests for infrastructural code?

Photo by Chris Ried on Unsplash

Almost always we end up with infrastructural code in our projects. That is extension code on top of the framework that we’re using internally, added so that the main functional code of the app is cleaner, clearer, shorter, and also more testable — since it it separated from its infrastructural dependencies through custom “mockable” interfaces that we expose and that might otherwise be missing.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sorin Dolha

Sorin Dolha

273 Followers

Software developer • founder of DlhSoft • married • father of two • MacBook enthusiast • physics geek • writing from Cluj