Top "Spring-mvc-test" questions

How can I use @WebMvcTest for a Controller that uses an autowired ConversionService?

In a Spring Boot application, I have two POJOs, Foo and Bar, and a BarToFooConverter, which looks like: @Component public …

java spring-mvc spring-boot spring-mvc-test
Spring Boot integration tests: @AutoConfigureMockMvc and context caching

I'm building very basic web application using Spring Boot 1.5.1 and wanted to create integration tests for checking REST endpoints. As …

spring-mvc spring-boot junit spring-mvc-test