@WebMvcTest: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* [[Spring_MVC_Concepts#Testing_MVC_Applications|Spring MVC Concepts]] | * [[Spring_MVC_Concepts#Testing_MVC_Applications|Spring MVC Concepts]] | ||
* [[Spring_Boot_Concepts#Testing|Spring Boot Concepts]] | * [[Spring_Boot_Concepts#Testing|Spring Boot Concepts]] | ||
=Overview= | |||
A SpringBoot annotation that arranges for the test to run in the context of a Spring MVC application: the class provided as argument is registered as controller with Spring MVC and thus make it available as target for request sent from inside the tests. |
Latest revision as of 01:19, 11 October 2018
Internal
Overview
A SpringBoot annotation that arranges for the test to run in the context of a Spring MVC application: the class provided as argument is registered as controller with Spring MVC and thus make it available as target for request sent from inside the tests.