From: Ryan Leavengood Date: 2005-05-09T22:00:24+09:00 Subject: Re: RJournal 0.1.1 Vincent Foley wrote: > I found this Test::Unit::Mock thing > (http://www.deveiate.org/code/Test-Unit-Mock.html), but the > documentation is really hard ro understand. Maybe it's because I'm not > familiar with the whole mock objects concept, I should try reading up > on that first. Anybody has any good links? Check these out: http://mockobjects.com/FrontPage.html http://c2.com/cgi/wiki?MockObject http://www.connextra.com/aboutUs/mockobjects.pdf The Ruby version may seem a bit more complex because the nature of Ruby allows for some fancy code that dynamically builds a mock object based on the methods of a given class. But once you learn how this works it will be easier to use than mock objects in statically typed languages like Java. Ryan