From c3e36ad960bf4584110825e040318735f7a46202 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 20 Jul 2015 14:35:33 +0200 Subject: [PATCH] Polish further resources section in Testing chapter --- src/asciidoc/testing.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/asciidoc/testing.adoc b/src/asciidoc/testing.adoc index b9b2f14e7a..61878b13a3 100644 --- a/src/asciidoc/testing.adoc +++ b/src/asciidoc/testing.adoc @@ -3623,7 +3623,7 @@ by using `@RunWith(SpringJUnit4ClassRunner.class)`, `@ContextConfiguration`, [[testcontext-junit4-runner]] ===== Spring JUnit Runner The __Spring TestContext Framework__ offers full integration with JUnit 4.9+ through a -custom runner (tested on JUnit 4.9 -- 4.11). By annotating test classes with +custom runner (tested on JUnit 4.9 -- 4.12). By annotating test classes with `@RunWith(SpringJUnit4ClassRunner.class)`, developers can implement standard JUnit-based unit and integration tests and simultaneously reap the benefits of the TestContext framework such as support for loading application contexts, dependency injection of test @@ -4306,16 +4306,16 @@ Consult the following resources for more information about testing: Used by the Spring Framework in its test suite. * http://testng.org/[TestNG]: A testing framework inspired by JUnit with added support for annotations, test groups, data-driven testing, distributed testing, etc. +* http://en.wikipedia.org/wiki/Mock_Object[Mock Objects]: Article in Wikipedia. * http://www.mockobjects.com/[MockObjects.com]: Web site dedicated to mock objects, a technique for improving the design of code within test-driven development. -* http://en.wikipedia.org/wiki/Mock_Object["Mock Objects"]: Article in Wikipedia. -* http://www.easymock.org/[EasyMock]: Java library " __that provides Mock Objects for +* http://mockito.org/[Mockito]: Java mock library based on the + http://xunitpatterns.com/Test%20Spy.html[test spy] pattern. +* http://www.easymock.org/[EasyMock]: Java library "__that provides Mock Objects for interfaces (and objects through the class extension) by generating them on the fly - using Java's proxy mechanism.__ " Used by the Spring Framework in its test suite. + using Java's proxy mechanism.__" Used by the Spring Framework in its test suite. * http://www.jmock.org/[JMock]: Library that supports test-driven development of Java code with mock objects. -* http://mockito.org/[Mockito]: Java mock library based on the - http://xunitpatterns.com/Test%20Spy.html[test spy] pattern. * http://dbunit.sourceforge.net/[DbUnit]: JUnit extension (also usable with Ant and Maven) targeted for database-driven projects that, among other things, puts your database into a known state between test runs.