This is the first part of my video tutorial which describes the unit testing of Spring MVC controllers.
Before we can get our hands dirty and start writing the actual unit tests, we have to learn how we can configure unit tests which use the Spring MVC Test framework.
That is why I created this screencast.
This screencast describes how we can
- Get the required dependencies with Maven.
- Configure our application context in a such way that we can reuse parts of its configuration in our tests.
- Configure our unit tests by using either the standalone configuration or the WebApplicationContext based configuration.