Testing & debugging
- testing
Testing Code That Processes Signals: What a Unit Test Can and Cannot Prove
assertAlmostEqual isn't optional once floats enter the picture, and a passing test suite still can't tell you the filter cutoff was the right one.
Read the article - backend-testing
Test Create, Update and Delete as Observable Behaviors
A deep dive into Arrange-Act-Assert for Create, Update, and Delete operations using a reading-list service scenario.
Read the article - maven-debugging
Understand Maven Lifecycle Commands and Build Artifacts
A deep dive into Maven phases, the target folder, and the distinction between unit and integration test reports.
Read the article - maven-debugging
Debug Java Failures by Evidence, Not Random Edits
A systematic approach to tracing Java exceptions from logs to root cause using a timezone-specific invoice import failure.
Read the article - backend-testing
Choose Tests by the Risk They Can Actually Detect
A strategic guide to mapping failure modes to the correct test level using a currency conversion scenario.
Read the article - backend-testing
Use Mockito Without Confusing Interactions with Outcomes
Learn to isolate logic using Mockito by distinguishing between stubbing outcomes and verifying interactions in a notification dispatcher scenario.
Read the article