@WebMvcTest: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Spring MVC Concepts")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


* [[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]]
=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.