Blog

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 →]

Tactical Design by Example - Using Kotlin and Spring Boot (Part 6) - ArchUnit

Today I experimented a little with ArchUnit, in order to validate that an application follows our team's interpretation of Hexagon Architecture. I wanted to ensure that repositories, consumers and controllers are in the corresponding adapter package application services are in the application service package commands and queries are in the incoming port package the outgoing port package only… [read more →]

Tactical Design by Example - Using Kotlin and Spring Boot (Part 5)

|

Today will be about the power of inline classes in Kotlin! The domain Here's an example from REWE digital, the company I work for. They are offering online grocery shopping and deliveries. So when an order is delivered to a customer, the articles are packed in load units. These can be things like boxes or bags. The driver who delivers the order to the customer uses an app, in which he loads the… [read more →]