Blog (14 / 94)

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?

Introducing My AssertJ-DB Course

Because we had a rainy summer (I live in Finland), I decided to write a new course that describes how you can get rid of DbUnit XML data set files, make your feedback loop as short as possible, and eliminate duplicate boilerplate code (aka duplicate assertions) from your test suite. The Introduction to AssertJ-DB course […] Read More about Introducing My AssertJ-DB Course

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.