XpdWiki
Set your name in
UserPreferences Edit this page Referenced by
JSPWiki v2.0.52
![]() ![]() |
MockMaker is a program for creating source code for MockObject classes. Given an interface, it writes the source code for a mock object class that implements the interface and allows instances of that class to have expectations set about how many times a method is called, what parameters each method is called with, and to pre-set return values for methods. In many cases (possibly most cases), the classes produced by MockMaker are exactly what you want a mock class to do. Note that the classes produced by MockMaker rely on the MockObjects framework from http://www.mockobjects.com Homepage http://www.mockmaker.org Similar things for Java:
Something similar to EasyMock? for Python was written by DaveKirby: MockObjectsPython http://groups.yahoo.com/group/extremeprogramming/files/PythonMock.zip and for Ruby: MockObjectsRuby³host³³date³April 10, 2002³agent³Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311³MockMaker
|