提交 acf32726 编写于 作者: R Rossen Stoyanchev

Add documentation for Spring MVC Test

Issue: SPR-9860, SPR-9886
上级 4be2d159
......@@ -2358,6 +2358,15 @@ public String myHandleMethod(WebRequest webRequest, Model model) {
request.</para>
</section>
</section>
<section xml:id="mvc-ann-tests">
<title>Testing Controllers</title>
<para>The <filename>spring-test</filename> module offers first class support
for testing annotated controllers.
See <xref linkend="spring-mvc-test-framework"/>.</para>
</section>
</section>
<section xml:id="mvc-handlermapping">
......
......@@ -49,10 +49,7 @@
fluent API and without a servlet container. Server-side tests involve
use of the <classname>DispatcherServlet</classname> while client-side
REST tests rely on the <classname>RestTemplate</classname>.
See the following presentation for more information before
documentation is added:
<link xl:href="https://github.com/rstoyanchev/spring-32-test-webapps">
"Testing Web Applications with Spring 3.2"</link>.
See <xref linkend="spring-mvc-test-framework"/>.
</para>
</section>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册