Skip to content

Commit ca77342

Browse files
pdenevesnicoll
authored andcommitted
Update Spring Boot references in testing documentation
See gh-23848
1 parent 112bbe8 commit ca77342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/docs/asciidoc/testing.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -6366,7 +6366,7 @@ server.
63666366

63676367
TIP: Spring Boot provides an option to write full, end-to-end integration tests that
63686368
include a running server. If this is your goal, see the
6369-
{doc-spring-boot}/html/boot-features-testing.html#boot-features-testing-spring-boot-applications[Spring Boot reference page].
6369+
{doc-spring-boot}/html/spring-boot-features.html#boot-features-testing[Spring Boot Reference Guide].
63706370
For more information on the differences between out-of-container and end-to-end
63716371
integration tests, see <<spring-mvc-test-vs-end-to-end-integration-tests>>.
63726372

@@ -7064,7 +7064,7 @@ responses. Applications that make use of
70647064
<<web.adoc#mvc-ann-async-http-streaming,Spring MVC streaming>> options can use the
70657065
<<testing.adoc#webtestclient-stream,WebTestClient>> to perform end-to-end, integration
70667066
tests against a running server. This is also supported in Spring Boot where you can
7067-
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-testing-spring-boot-applications-testing-with-running-server[test a running server]
7067+
{doc-spring-boot}/html/spring-boot-features.html#boot-features-testing-spring-boot-applications-testing-with-running-server[test a running server]
70687068
with `WebTestClient`. One extra advantage is the ability to use the `StepVerifier` from
70697069
project Reactor that allows declaring expectations on a stream of data.
70707070

@@ -7112,8 +7112,8 @@ Thymeleaf and Freemarker, render HTML to the response body as expected. The same
71127112
for rendering JSON, XML, and other formats through `@ResponseBody` methods.
71137113

71147114
Alternatively, you may consider the full end-to-end integration testing support from
7115-
Spring Boot with `@WebIntegrationTest`. See the
7116-
{doc-spring-boot}/html/boot-features-testing.html#boot-features-testing-spring-boot-applications[Spring Boot Reference Guide].
7115+
Spring Boot with `@SpringBootTest`. See the
7116+
{doc-spring-boot}/html/spring-boot-features.html#boot-features-testing[Spring Boot Reference Guide].
71177117

71187118
There are pros and cons for each approach. The options provided in Spring MVC Test are
71197119
different stops on the scale from classic unit testing to full integration testing. To be

0 commit comments

Comments
 (0)