Fixtures VS Factories, or how I do fixtures
Posted by Jim Morris on Fri Feb 06 15:04:54 -0800 2009
There is a raging debate in many forums about how to do fixture-like things. Basically how do you populate a database with test data so you can run your Specs/Tests/Features.
There are several libraries out there to do this like FactoryGirl, FixtureReplacement, Machinist, Fixjour etc etc. If you use Rails and ActiveRecord pick the one you like and be happy ;)
... Show more ...