https://kotlinlang.org logo
x

x80486

06/16/2017, 11:18 PM
...so, I tried something like:
Copy code
@Inherited
@ActiveProfiles("development")
@Target(AnnotationTarget.TYPE)
@Retention(AnnotationRetention.RUNTIME)
@AutoConfigureMockMvc(print = MockMvcPrint.LOG_DEBUG)
@ContextConfiguration(classes = arrayOf(Application::class))
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
annotation class SpringWebMockMvcTest