Mutation Testing with PITest 1. Overview Software testing refers to the techniques used to assess the functionality of a software application. In this article, we’re going to discuss some of the metrics used in the software testing industry, such as code coverage and mutation testing, with peculiar interest on how… Continue Reading java-mutation-testing-with-pitest

The Intermediate Class of REST With Spring Is Out REST Spring Overview Yesterday, I finally lunched the Intermediate Class of my REST With Spring course. First off, for everyone that has written in with great feedback, thank you. I incorporated all of that insight into the material and added a… Continue Reading rest-with-spring-intermediate-class-is-out

A Guide to the Problem Spring Web Library 1. Overview In this tutorial, we’re going to explore how to produce application/problem+json responses using the Problem Spring Web library. This library helps us to avoid repetitive tasks related to error handling. By integrating Problem Spring Web into our Spring Boot application, we can simplify the… Continue Reading problem-spring-web

Spring WebClient Filters 1. Overview In this tutorial, we’re going to explore WebClient filters in Spring WebFlux, a functional, reactive web framework. 2. Request Filters A filter can intercept, examine, and modify a client request (or response). Filters are very suitable for adding functionality to every single request since the… Continue Reading spring-webclient-filters

Create a Java Command Line Program with Picocli 1. Introduction In this tutorial, we’ll approach the picocli library, which allows us to easily create command line programs in Java. We’ll first get started by creating a Hello World command. We’ll then take a deep dive into the key features of… Continue Reading java-picocli-create-command-line-program

Try-with-resources in Kotlin 1. Introduction Managed languages, such as those targeting the JVM, automatically handle the most common resource: memory. However, we need to deal with all kinds of resources, not just memory: files, network connections, streams, windows, etc. And, just like memory, those need to be released when no… Continue Reading kotlin-try-with-resources

Integration Testing with the Maven Cargo plugin A very common need in the lifecycle of a project is setting up integration testing. Luckily, Maven has built-in support for this exact scenario, with the following phases of the default build lifecycle (from the Maven documentation):[more-134]# pre-integration-test: Perform actions required before integration… Continue Reading integration-testing-with-the-maven-cargo-plugin