Nov 7, 2022·edited Nov 16, 2022Liked by Maurício Aniche

I totally agree with you Maurício. The idea of isolating the problems in terms of testability excites me as it as a huge impact in the system architecture and design as well as on reducing or even remove the chances of critical bugs

Expand full comment
Nov 8, 2022Liked by Maurício Aniche

Indeed, integration tests on distributed system is very complex and has a high cost. Is using mock in other external services is a good and valid solution for integration tests?

Expand full comment

It sure is a way of doing it. I tend to rely on mocks a lot so that my test doesn't require a whole other software system up and running. The disadvantage is that you now need something smart to ensure that it the contract between the two systems change, you notice it, as your tests won't do that for you anymore. It's all about trade-offs!

Expand full comment