File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6534,6 +6534,10 @@ example shows a class that uses both `@WebFluxTest` and a `WebTestClient`:
6534
6534
A list of the auto-configuration that is enabled by `@WebFluxTest` can be
6535
6535
<<appendix-test-auto-configuration#test-auto-configuration,found in the appendix>>.
6536
6536
6537
+ NOTE: `@WebFluxTest` cannot be used for testing routes registered via the functional
6538
+ web framework. For testing `RouterFunction` beans in the context, consider using
6539
+ `@SpringBootTest`.
6540
+
6537
6541
TIP: Sometimes writing Spring WebFlux tests is not enough; Spring Boot can help you run
6538
6542
<<boot-features-testing-spring-boot-applications-testing-with-running-server,
6539
6543
full end-to-end tests with an actual server>>.
You can’t perform that action at this time.
0 commit comments