When Scala tests mock too much
Why interaction-heavy unit tests become coupled to implementation, how to recognise the damage, and how state, stubs, fakes, contract tests and integration tests restore useful confidence.
Read articleInsights
Technical articles on languages, databases, serverless platforms and the awkward realities of keeping systems moving.
Showing 1–8 of 8 Testing articles
Why interaction-heavy unit tests become coupled to implementation, how to recognise the damage, and how state, stubs, fakes, contract tests and integration tests restore useful confidence.
Read articleHow unit and integration tests provide different evidence, where mocks and real adapters belong, and how to build a suite that stays fast without testing away production risk.
Read articleA practical approach to selecting valuable browser journeys, writing stable Selenium tests, controlling data and authentication, and turning failures into useful delivery evidence.
Read articleA practical testing structure for Java and Spring Boot: pure unit tests, focused service tests, web slices, repository integration and fewer mocks that merely replay the implementation.
Read articleA practical guide to building GitHub Actions workflows with useful feedback, narrow permissions, deliberate caching, durable artifacts and safer deployment boundaries.
Read articleHow to compose promises, preserve useful errors, cancel obsolete work, limit concurrency and test asynchronous behaviour without timing-dependent tests.
Read articleA technical guide to the boundaries, hidden effects, data compatibility, tests, builds and production feedback that determine whether a backend change is safe or expensive.
Read articleHow to model representative traffic with Grafana k6, define checks and thresholds, avoid coordinated overload, and correlate latency and errors with application behaviour in Grafana.
Read articleStart a conversation
A feature that needs shipping, an ageing service that needs attention, or a deployment that has become harder than the code. Talk to us about your problems.