Spring MVC

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

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

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

Integration Testing of Spring MVC Applications: Forms

This is the third part of my spring-test-mvc tutorial and it describes how we can write integration tests for controller methods that are processing form submissions. During this tutorial we will continue writing integration tests for a simple todo application. This tutorial concentrates on two functions that are used to create new todo entries and […] Read more

Integration Testing of Spring MVC Applications: Controllers

This is the second part of my spring-test-mvc tutorial and it describes how we can write integration tests for “normal” controller methods (methods that are not using Ajax or processing form submissions). During this tutorial, we write integration tests for a simple todo application that provides CRUD functions for todo entries. This tutorial concentrates on […] Read more

Integration Testing of Spring MVC Applications: Configuration

No one of us can deny the importance of integration testing. It is an important tool which we can use to verify that our components are working together in a correct way. However, the integration testing of web applications build by using Spring MVC has been problematic. We have been using tools like Selenium or […] Read more