Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
204

Latest Updates

Documenting code, one commit at a time.

Backend 2 posts
×

Streamlining Backend Tests: The Power of Mocking External Services

In the cmms-hidrobombas-merida project, we recently focused on enhancing our backend testing strategy. A common challenge in developing robust backend applications is ensuring that unit tests are fast, reliable, and truly isolated. This becomes particularly apparent when dealing with external dependencies, like email services.

The Burden of Reality in Unit Tests

Imagine trying to test if a

Beyond the Happy Path: Fortifying Critical Workflows with Edge Case Testing

In the world of software development, it's easy to get caught up in building out the core functionality – the "happy path" where everything works perfectly. But what happens when reality strikes? An unknown user tries to schedule an appointment, or a cancellation request comes in for a client that doesn't exist? Neglecting these "edge cases" can lead to frustrated users, corrupted data, and