• Stephane Nicoll's avatar
    Add support for Mock test with WebFlux · c5595f29
    Stephane Nicoll authored
    This commit add mock support for WebFlux with an infrastructure similar
    to what `WebMvcTest` provides. `@WebFluxTest` can be used to test
    controllers with a narrowed classpath that is relevant to WebFlux. Also,
    `@SpringBootTest` now starts WebFlux in "mock" mode by default and
    `@AutoConfigureWebTestClient` can be used to inject a `WebTestClient`
    connected to the `ApplicationContext`.
    
    To make that happen, a `ReactiveWebApplicationContext` interface has been
    introduced to mirror what `WebApplicationContext` currently does. Things
    are still a bit volatile at this point and that infra may move to Spring
    Framework at some point.
    
    Closes gh-8401
    c5595f29
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...