@WebMvcTest

From NovaOrdis Knowledge Base
Revision as of 01:19, 11 October 2018 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.