diff --git a/samples/webflux-websocket/build.gradle b/samples/webflux-websocket/build.gradle
index 40b15397..2a2d7121 100644
--- a/samples/webflux-websocket/build.gradle
+++ b/samples/webflux-websocket/build.gradle
@@ -13,7 +13,6 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation project(':spring-graphql-test')
- testImplementation 'org.springframework:spring-webflux'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
}
diff --git a/spring-graphql-docs/src/docs/asciidoc/index.adoc b/spring-graphql-docs/src/docs/asciidoc/index.adoc
index 19dbb5b8..ce00d608 100644
--- a/spring-graphql-docs/src/docs/asciidoc/index.adoc
+++ b/spring-graphql-docs/src/docs/asciidoc/index.adoc
@@ -888,8 +888,73 @@ A GraphQL error metric counter is available at `/actuator/metrics/graphql.error`
[[boot-graphql-testing]]
=== Testing
-When the starter `spring-boot-starter-test` is present on the classpath, a `WebGraphQlTester`
-is configured and available for injection into tests.
+For Spring GraphQL testing support, add the below to your classpath and that will make
+a `WebGraphQlTester` available for injection into tests:
+
+[source,groovy,indent=0,subs="verbatim,quotes",role="primary"]
+.Gradle
+----
+dependencies {
+ testImplementation 'org.springframework.boot:spring-boot-starter-test'
+ testImplementation 'org.springframework.graphql:spring-graphql-test:1.0.0-SNAPSHOT'
+
+ // Also add this, unless `spring-boot-starter-webflux` is also present
+ testImplementation 'org.springframework:spring-webflux'
+
+ // ...
+}
+
+repositories {
+ mavenCentral()
+ maven { url 'https://repo.spring.io/milestone' } // Spring milestones
+ maven { url 'https://repo.spring.io/snapshot' } // Spring snapshots
+}
+----
+[source,xml,indent=0,subs="verbatim,quotes",role="secondary"]
+.Maven
+----
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.springframework.graphql
+ spring-graphql-test
+ 1.0.0-SNAPSHOT
+ test
+
+
+
+
+ org.springframework
+ spring-webflux
+ test
+
+
+
+
+
+
+
+
+
+ spring-milestones
+ Spring Milestones
+ https://repo.spring.io/milestone
+
+
+ spring-snapshots
+ Spring Snapshots
+ https://repo.spring.io/snapshot
+
+ true
+
+
+
+----
For GraphQL over HTTP with Spring MVC, using `MockMvc` as the server: