Tag: spring-test-mvc

Integration Testing of Spring MVC Applications: Write Clean Assertions with JsonPath

The previous parts of my Spring MVC Test tutorial have described how we can write integration tests for a REST API. Although the techniques described in those blog posts are useful, the problem is that our assertions were not very elegant. Our assertions were basically ensuring that the body of the HTTP response contained the […] Read More about Integration Testing of Spring MVC Applications: Write Clean Assertions with JsonPath

Integration Testing of Spring MVC Applications: Migrating to Spring 3.2

When Spring Framework 3.2 was released, spring-test-mvc was officially included in this release under the name Spring MVC Test Framework. Although many things remained the same, there are some changes that might cause confusion when we are migrating our applications from Spring Framework 3.1 to 3.2. This blog entry was written to help us to […] Read More about Integration Testing of Spring MVC Applications: Migrating to Spring 3.2

Integration Testing of Spring MVC Applications: Security

In the previous parts of my spring-test-mvc tutorial, we learned to write integration tests for our controllers. However, we have not talked about security yet, even though securing our data is a crucial part of (almost) every application. This is the sixth part of my spring-test-mvc tutorial and it will teach us to write integration […] Read More about Integration Testing of Spring MVC Applications: Security

Integration Testing of Spring MVC Applications: REST API, Part Two

This is the fifth part of my spring-test-mvc tutorial and it describes the integration testing of a REST API that is implemented by using Spring MVC 3.1. During this tutorial we will continue writing integration tests for a simple REST API that provides CRUD functions for todo entries. This blog entry concentrates on two controller […] Read More about Integration Testing of Spring MVC Applications: REST API, Part Two

Integration Testing of Spring MVC Applications: REST API, Part One

This is the fourth part of my spring-test-mvc tutorial and it describes how we can write integration tests for a REST API that is implemented by using Spring MVC 3.1. During this tutorial we write integration tests for a simple REST API that provides CRUD functions for todo entries. This blog entry concentrates on three […] Read More about Integration Testing of Spring MVC Applications: REST API, Part One

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.