From a32448da02a742be3a12e848e619c56a94978c9f Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 30 Jun 2009 18:40:33 +0000 Subject: [PATCH] Added link to the Mockito test spy "mock" testing library. --- spring-framework-reference/src/testing.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/spring-framework-reference/src/testing.xml b/spring-framework-reference/src/testing.xml index b88e6faac07..9b5ab8b4c7b 100644 --- a/spring-framework-reference/src/testing.xml +++ b/spring-framework-reference/src/testing.xml @@ -885,6 +885,7 @@ public void testProcessRepeatedly() { @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration public class MyTest { + @Autowired private ApplicationContext applicationContext; @@ -935,7 +936,7 @@ public class MyTest { @RunWith(SpringJUnit4ClassRunner.class) // ApplicationContext will be loaded from "/applicationContext.xml" and "/applicationContext-test.xml" // in the root of the classpath -@ContextConfiguration(locations={"/applicationContext.xml", "/applicationContext-test.xml"}) +@ContextConfiguration({"/applicationContext.xml", "/applicationContext-test.xml"}) public class MyTest { // class body... } @@ -1799,6 +1800,12 @@ public class HibernateClinicTests extends AbstractClinicTests { } objects. + + Mockito: a Java mock + library based on the test spy + pattern. + + DbUnit: a JUnit extension (also usable with Ant and Maven) targeted for