API testing with Postman

For a project I’m currently working on we are using the well-known tool Postman to test the http API of a service that we are developing and maintaining. I have been using it to test single requests in the past, but as it comes with a lot of features and can feel a bit bloated …

Referencing Gitlab issues in commit messages

Since recently I’m working on an open source project hosted on a Gitlab instance. We also manage project issues in Gitlab and in my commit messages I reference those issues, where appropriate. I do this by prefixing the commit message with a hashmark and the issue number. A commit message can look like that: #123: …

Cleanup of git branches

In our work projects we use a lot of git branches. Over time, the number of branches in my local repository grows and it gets more complicated to find specific branches. For this reason I like to cleanup untracked branches every now and then, and because this is only an issue every few months, I keep …

Automatic switching of Java SDK versions

I’ve been using SdkMan! for a long time, it makes it quite easy to manage multiple versions of different frameworks. I’ve been almost exclusivly using it to manage Java SDK versions over the past years, and although I’m mostly writing code in Kotlin recently every now and then I’m also looking at Java based projects. …

Parameterized Tests with JUnit 5 Jupiter

This post has originally been published on the codecentric blog. It was translated to english and slightly edited for this blog. A month back the JUnit team published the offical version of JUnit 5. There’s plenty of resources for high level overviews and if you want to catch up I can recommend this (german) article …

Using Lombok's @Builder annotation with default values

When writing Java, I’m a big fan of Lombok, a library that helps reduce boilerplate code through code-generation. I’ve written about it in the past, if you’re not familiar with it, checkout my previous posts here and here. Recently I’ve been confronted with the problem of providing defaults for generated Builder-classes generated by the @Builder …