I've seen a lot of confusion recently about the SpringExtension. When failing to get the context configuration for a test right, some

Read More

With this guide, we'll investigate the powerful @SpringBootTest annotation for writing Spring Boot integration tests. If you're new to testing the Spring

Read More

With this blog, you'll get an overview of how unit and integration testing works with Spring Boot. On top of this, you'll

Read More

With one of the previous blog posts, we configured a Thymeleaf Spring Boot application for an OAuth 2 Login with Spring Security

Read More

One of the core features of Spring is the event publishing functionality. We can use events to decouple parts of our application

Read More

REST Assured is a Java DSL (Domain Specific Langauge) that aims to simplify testing REST APIs. It follows a BDD (Behavior Driven

Read More

As soon as you scale out your Spring Boot application (run with multiple instances) to e.g. increase throughput or availability, you have

Read More

MongoDB is one of the NoSQL databases that Spring Boot offers great testing support for. Like all other test slice annotations from

Read More

Sending emails is a common responsibility of enterprise applications. With the Spring Boot Starter Mail dependency, this becomes a trivial task. But

Read More

As a general best practice, we should externalize configuration values for our applications. This allows overriding them per stage and e.g. connect

Read More