This link has been bookmarked by 18 people . It was first bookmarked on 12 Sep 2008, by Marco Castellani.
-
17 Jan 15
-
06 Nov 13
-
20 Nov 12
-
action classes
-
data access objects (DAOs)
-
services
-
The idea of unit testing is that we want to test our code without testing the dependencies.
-
-
02 Nov 12
-
Mock objects are a very valuable tool in testing. They provide you with the ability to test what you write without having to address dependency concerns.
-
-
07 Apr 12
-
17 Mar 12
-
14 Sep 11
-
24 Jan 11
-
15 Jun 09
-
21 Jan 09
-
16 Sep 08
-
12 Sep 08
-
The idea of unit testing is that we want to test our code without testing the dependencies.
-
You aren't trying to test that
ArrayListworks because you assume that it has been tested and works as designed. Your only goal is to test your use ofArrayList. -
doLookup()
-
service.lookupByKey(key)
-
The concept behind mock objects is that we want to create an object that will take the place of the real object. This mock object will expect a certain method to be called with certain parameters and when that happens, it will return an expected result.
-
proxy
-
class remapping.
-
What happens is that you tell the class loader to remap the reference to the class file it will load
-
-
03 Aug 08
-
31 Jul 08
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.