@WebMvcTest

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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.