Separating integration tests from unit tests

Update 2024-12-15 This blog is obviously very OO-centric, focusing on the notion of a class as the smallest “unit”. Obviously, in non-OO languages, what a “unit” is will vary e.g. it could be a compilation unit. But the idea still holds, that you are trying to test individual units of behavior without pulling in dependencies that may result in longer startup time, failures in the dependencies (which may be out of your control), or code that doesn’t exist yet (for TDD). ...

December 30, 2020 · 4 min · Ray Suliteanu

My Three Must Read Books for the Working Software Developer

I’ve read a lot of books over my almost thirty year career as a software developer. A lot of books have helped me understand various topics related to building software, everything from books on learning new programming languages to understanding particular architectures to how to manage teams. But if you asked me to pick just three out of all the books I’ve read, the three books I discuss here have had the most profound positive impact on me as a developer. ...

December 23, 2020 · 5 min · Ray Suliteanu

Bootiful ksqlDb

In this post I will show how to use the ksqlDb Java REST client to interact with the ksqlDb server using a Spring Boot application as a foundation. The Boot app will also use Spring Webflux to help expand the use of reactive programming. I will also show the use of the Testcontainers framework for integrating deployment of Docker containers as part of integration testing, in this case with JUnit 5. What this will not cover is details of Apache Kafka or Spring Boot, or even ksqlDb and streaming systems, except to provide background to understand the code. There are plenty of other examples and posts that cover those details. ...

November 25, 2020 · 9 min · Ray Suliteanu