https://github.com/marcnuri-demo/spring-mockmvc-test
Integration testing using MockMvc
https://github.com/marcnuri-demo/spring-mockmvc-test
Last synced: 2 months ago
JSON representation
Integration testing using MockMvc
- Host: GitHub
- URL: https://github.com/marcnuri-demo/spring-mockmvc-test
- Owner: marcnuri-demo
- License: apache-2.0
- Created: 2018-05-12T06:02:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-06T15:47:15.000Z (almost 6 years ago)
- Last Synced: 2025-03-25T17:22:32.752Z (3 months ago)
- Language: Java
- Size: 81.1 KB
- Stars: 8
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring MVC: Using MockMvc to test Spring Controllers
[](https://travis-ci.org/marcnuri-demo/spring-mockmvc-test)
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](https://blog.marcnuri.com/mockmvc-spring-mvc-framework/).