Integration testing using MockMvc
Switch branches/tags
Nothing to show
Clone or download
Latest commit c46c4f3 Jul 8, 2018

Spring MVC: Using MockMvc to test Spring Controllers

Build Status

Source code for the tutorial published on

Introduction to Spring MVC testing framework, highlighting the advantages of using MockMvc instead of regular unit tests. The post shows two ways of setting up MockMvc and how using standaloneSetup has the advantages of unit and integration testing.

Please feel free to leave any comments or suggestions on the blog page.