Blog

Tactical Design by Example - Using Kotlin and Spring Boot (Part 9) - Behaviour, not data

Let's take a look at the evolution of an application: Today, most development is done in iterations, so applications start out with a minimal feature set, and are growing steadily over time. It is not uncommon to end up with very complicated code after only a few iterations, that is hard to extend and maintain. Often, a rewrite or abandonment are the only options left. This is not a problem per… [read more →]

Tactical Design by Example - Using Kotlin and Spring Boot (Part 8) - Sliced Tests

Integration Testing with Spring Boot comes at the cost of constructing the Application Context. This can make integration tests really slow. There are several strategies to deal with this. Strategy: Using a single context Application Context caching In the one camp, there are people who like to re-use an Application Context as often as possible. The extreme case would be to use just one… [read more →]

Tactical Design by Example - Using Kotlin and Spring Boot (Part 7) - Testing 101

After having fun with ArchUnit last week, I wanted to explore testing a little more. Let's revisit some basics this week. I will be focusing on integration testing in the next blog post, especially on Spring Boot test slices. How Hexagon Architecture helps with testing The Hexagon Architecture not only structures our application, but also helps us to distinguish between more valuable and more… [read more →]