DEV Community

Discussion on: The Virtuous Cycle of Testing

Collapse
 
burkovae profile image
Andre B.

To add some missing pieces: if writing tests become difficult it is a symptom of architecture smell. You then should strongly think about refactoring because the system becomes unmaintainable...

Collapse
 
keep_calm_and_code_on profile image
Alex Lau

Totally agree with this @burkovae! If you're scared to write tests and/or modify code in a certain area of an application, that's a strong indicator pointing to that area needing more attention.