Skip to content

Commit acf3272

Browse files
committed
Add documentation for Spring MVC Test
Issue: SPR-9860, SPR-9886
1 parent 4be2d15 commit acf3272

File tree

3 files changed

+535
-4
lines changed

3 files changed

+535
-4
lines changed

src/reference/docbook/mvc.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,15 @@ public String myHandleMethod(WebRequest webRequest, Model model) {
23582358
request.</para>
23592359
</section>
23602360
</section>
2361+
2362+
<section xml:id="mvc-ann-tests">
2363+
<title>Testing Controllers</title>
2364+
2365+
<para>The <filename>spring-test</filename> module offers first class support
2366+
for testing annotated controllers.
2367+
See <xref linkend="spring-mvc-test-framework"/>.</para>
2368+
</section>
2369+
23612370
</section>
23622371

23632372
<section xml:id="mvc-handlermapping">

src/reference/docbook/new-in-3.2.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@
4949
fluent API and without a servlet container. Server-side tests involve
5050
use of the <classname>DispatcherServlet</classname> while client-side
5151
REST tests rely on the <classname>RestTemplate</classname>.
52-
See the following presentation for more information before
53-
documentation is added:
54-
<link xl:href="https://github.com/rstoyanchev/spring-32-test-webapps">
55-
"Testing Web Applications with Spring 3.2"</link>.
52+
See <xref linkend="spring-mvc-test-framework"/>.
5653
</para>
5754

5855
</section>

0 commit comments

Comments
 (0)