Are you having trouble writing automated tests for your Spring or Spring Boot web app? If so, take a look at my Test With Spring course.

Testing

WireMock Tutorial: Configuration

This blog post describes how we can configure the system under test when we want to use WireMock with JUnit 5 and we don’t want to use a custom JUnit 5 extension. After we have finished this blog post, we: Understand how we can configure the

WireMock Tutorial: Introduction

This blog post gives a quick introduction to WireMock. After we have finished this blog post, we can identify its key features, we know when we should use it, and we can get the required dependencies with Maven and Gradle. Let’s get started.

JUnit 5 Tutorial: Writing Assertions With AssertJ

This blog post describes how we can write assertions with Assert. We will learn to: get the required dependencies with Maven and Gradle, write basic assertions with AssertJ, customize the error message shown when an assertion fails, and write soft

JUnit 5 Tutorial: Writing Assertions With Hamcrest

This blog post describes how we can write assertions with Hamcrest. We will learn to: get the required dependencies with Maven and Gradle, write basic assertions with Hamcrest, combine multiple Hamcrest matchers, and customize the error message

JUnit 5 Tutorial: Writing Parameterized Tests

This blog post describes how we can write parameterized tests with JUnit 5. To be more specific, we will learn to: get the required dependencies, customize the display name of each method invocation, use different argument sources, and write custom