Closed
Description
Spring Framework recently added WebTestClient
support for testing Spring MVC applications using MockMvc
(see spring-projects/spring-framework#19647).
Right now, Spring Boot offers two ways to test a web application: using TestRestTemplate
on a running web server or with MockMvc
(no actual server involved).
We should consider MockMvcTestClient
and how we should update our testing infrastructure and documentation with this new option.