Daniel Berger wrote:
> Hi all,
> 
> Is there anyone out there working on something like DBUnit for Ruby? 
> Or perhaps something like it already exists but I've missed it?
> 
> http://www.onjava.com/pub/a/onjava/2004/01/21/dbunit.html
> 
> I can do this in TestUnit the "long" way.  I just thought it might be
> nice to have  a subclass of Test::Unit::TestCase that handled some
> things automagically, instead of making me do them manually.  This
> could include stuff like connection handling, and perhaps additional
> builtin methods like assert_update, assert_delete.  Just an idea.
> 
> Suggestions, ideas, comments welcome.

Looks like ActiveRecords's Fixtures. No?

http://ar.rubyonrails.org/classes/Fixtures.html

Regards,

   Michael