From: Jim Weirich Date: 2003-01-17T10:52:47+09:00 Subject: Re: Unit Testing in dynamic environments On Thu, 2003-01-16 at 12:28, Hugh Sasse Staff Elec Eng wrote: > There is an idea called Mock Objects, where your object pretends to > be the database, and give stable results. > > http://www.rubygarden.org/ruby?Mock_Object > > has info on this. The comments on http://www.b13media.com/dev/ruby/mock.html indicate that it works with RubyUnit. Is there a mock that works with Test::Unit? -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)