Journal

Reliable Retry Logic for Flaky HTTP Tests
Flaky HTTP tests pass and fail without a meaningful code change. They may time out when a service is briefly overloaded, receive a 502 from a reverse proxy, or…
Generating Reliable Random Test Data in Java
Random test data helps reveal assumptions that fixed fixtures often hide. A service may pass every test with Alice, 12345, and today’s date, then fail when it…
Testing REST API Pagination and Sorting Logic for Production APIs
When backend services serve thousands of records — product catalogues, transaction ledgers, ASX-listed share registers or NBN outage reports — pagination and…
Testing Java code with Spock and Maven in a Groovy workflow
Java developers who default to JUnit often inherit a sea of assertion libraries and ceremonial setup. Groovy paired with the Spock framework gives the same JVM…
Mocking database calls with H2 and Spring Test
Spring Boot applications spend a surprising amount of time talking to a database, and a surprising amount of test flakiness starts there. A query that works on…
Coordinating Async Tests Using CountDownLatch and ExecutorService
When Java code fires work onto a thread pool and continues without waiting, tests have a problem: how do you assert that the callback actually ran? Synchronous…
Load Testing a WebSocket Server with k6
WebSocket applications keep a connection open so that the server can push data as soon as it becomes available. That model suits chat, live dashboards,…
Writing effective unit tests for Java streams and lambda expressions
Since Java 8 turned the language functional, streams and lambdas have quietly reshaped how Australian engineering teams write backend services. From the…
Fluent Java test assertions with AssertJ
Testing teams across Sydney, Melbourne and Brisbane increasingly reach for AssertJ when they want their JUnit suites to actually explain themselves. The…
Live Craps Deposits and Payment Options for Australian Players
Australian casino searches often combine a specific game with a preferred banking method. Someone looking for a live craps table may also search for a “live…