Fernando Prieto
1 min readNov 5, 2019

--

Don’t you think your example breaks some principles? As it defeats the purposes of injection, single responsibility… And worst of all, you can get your app to crash because of test code by accident :D

I have not seen the need and any Google reference about adding test code in the production code, to be fair.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Fernando Prieto
Fernando Prieto

Written by Fernando Prieto

Senior Android Developer | Calisthenics Athlete

No responses yet

Write a response