@SpringBootTest

From NovaOrdis Knowledge Base
Revision as of 00:27, 11 October 2018 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

@SpringBootTest tells to SpringRunner, which is a JUnit plugin that provides custom Spring-specific testing behavior, to bootstrap the test with Spring Boot capabilities.

@SpringBootTest(webEnvironment=WebEnvironment.RANDOM_PORT)