testing
5 article(s) with this tag
-
02 Oct 2026
💊 #28: Want to cut developers? Don't cut the tests
Common Dictionary, also for those who never touch the code: what unit tests and integration tests are, explained with a car, and why they are what decides how much it costs to touch a piece of software.
-
28 Apr 2026
💊 #23: The illusion of coverage and the combinatorial trap
Branch coverage as a tool to hunt down missing tests and dead code, and why unit tests are the 'cheat code' against the combinatorial explosion of integration tests.
-
12 Jul 2025
💊 #16: ArgumentCaptor – gotta test 'em all!
Mockito ArgumentCaptor: beyond a plain verify(), inspecting the arguments actually passed to a mocked method to test side-effects too.
-
16 Feb 2025
💊 #10: Migrating a BE architecture to a new data model
Horizontal refactoring of the repositories, vertical refactoring of services and converters, ~100 integration tests, over 500 unit tests, and a 4-branch git strategy to migrate the data model without blocking ongoing development.
-
21 Sep 2024
💊 #5: Mocking static and final fields with reflection and Unsafe (Java > 11)
How to use reflection + sun.misc.Unsafe to override a private static final Supplier in tests, bypassing the JVM's restrictions on immutable fields.