Introduction to Spring MVC Test

Controllers can be tricky to properly unit test. The Spring Framework has a module designed to assist with the unit testing of controllers called Spring MVC test. In this module, we'll take a look at what Spring MVC test is, and how it works in conjunction with JUnit and Mockito.

Notes

Towards the end of the presentation, I mentioned my Spring One talk about using Spring MVC Test with Spock for unit testing Spring MVC. You can review my slides from Spring One here.

Complete and Continue