Raymondma-public / springboot-concurrent-user-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring MVC: Using MockMvc to test Spring Controllers

Build Status

Source code for the tutorial published on https://blog.marcnuri.com/mockmvc-spring-mvc-framework/

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.

About

License:Apache License 2.0


Languages

Language:HTML 87.2%Language:Java 8.8%Language:JavaScript 2.3%Language:CSS 1.7%