From e679690a74a86e09b9fd0e89e0a81347ef39a682 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 17 Jul 2018 14:06:41 +0200 Subject: [PATCH] Clarify the WebTestClient requires WebFlux on the classpath Closes gh-13469 --- .../spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index ae900ab243..60412bbdb8 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -6254,6 +6254,7 @@ responses, as shown in the following example: include::{code-examples}/test/web/RandomPortWebTestClientExampleTests.java[tag=test-random-port] ---- +This setup requires `spring-webflux` on the classpath. If you can't or won't add webflux, Spring Boot also provides a `TestRestTemplate` facility: [source,java,indent=0]