Many developers have a hate relationship with testing. However, I believe the main cause of that is code that is highly-coupled and difficult to test.

This post states some principles and guidelines that can help you write easily-testable code, which is not only easier to test but also more flexible and maintainable, due to its better modularity. Here at Feedzai, we try to follow these principles and guidelines in order to have better code quality, increased test coverage and confidence in the products we deliver.

This article mostly serves as an introduction to these concepts. If you want to understand…

Pedro Câmara

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