Spring Social 1.0 has a spring-social-test module which provides support for testing Connect implementations and API bindings. This module was removed from Spring Social 1.1.0, and it was replaced with the Spring MVC Test framework. The problem is that there is practically no information about writing unit tests for an application which uses Spring Social […] Read More
Spring MVC Test
Unit Testing of Spring MVC Controllers: REST API
This blog post is outdated! If you want to learn how you can write unit tests for a Spring MVC REST API, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for a Spring MVC REST API with JUnit 5. Spring MVC provides an […] Read More
Unit Testing of Spring MVC Controllers: "Normal" Controllers
This blog post is outdated! If you want to learn how you can write unit tests for Spring MVC controllers, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for Spring MVC controllers with JUnit 5. The first part of this tutorial described how […] Read More
Unit Testing of Spring MVC Controllers: Configuration
This blog post is outdated! If you want to learn how you can write unit tests for Spring MVC controllers, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for Spring MVC controllers with JUnit 5. Writing unit tests for Spring MVC controllers has […] Read More
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