Tag: Spring MVC Test (3 / 10)

Writing Integration Tests for Spring Boot Web Applications: Build Setup

When we want to write integration tests for Spring Boot web applications, the first thing that we have to do is to create a build that makes our life as easy as possible. In other words, we must create a build that allows us to decide what happens when we build our project. This blog post describes how we can create a Maven build that fulfills this requirement. Read More about Writing Integration Tests for Spring Boot Web Applications: Build Setup

The Best Tools for Writing Integration Tests for Spring Boot Web Applications

Before we will learn how to write integration tests for Spring Boot web applications, it's a good idea to take a quick look at the tools which help us to write better tests. This blog post highlights six testing tools which we should use when we are writing integration tests for Spring Boot web applications. Read More about The Best Tools for Writing Integration Tests for Spring Boot Web Applications

How to Write MockMvc Tests Without ObjectMapper, Part Three - Should We Do It?

This blog post is the third (and last) part of my article series which investigates if we should use ObjectMapper for creating the request body when we are writing tests for Spring REST APIs. This blog post helps us to understand the role of ObjectMapper, identifies the pros and cons of not using ObjectMapper, and describes when we should and should not use ObjectMapper. Read More about How to Write MockMvc Tests Without ObjectMapper, Part Three - Should We Do It?

Get practical tips and tutorials on test automation, Spring, and software development in your inbox. You’ll also never miss a new blog post. You can unsubscribe at any time.

My privacy policy identifies the information which I collect if you subscribe my email newsletter and describes how I use the collected information.