DEV Community

Discussion on: No excuses, write unit tests

Collapse
 
jackmarchant profile image
Jack Marchant

I would suggest that as a general rule you shouldn't be writing tests any more than 20-30% of the time while building a feature. If it's more than that I would question the architecture decisions in the app.
Sometimes you will have to write mocks but I find being strict about the interface to an external source is key!