Hi all, just looking for some recommendations on testing frameworks to use for complex models with many associations. Fixtures just aren''t cutting it and I need a new option. Been looking into factory_girl. Any recommendations you could throw out would be very helpful. Thanks, Marli -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Nov 24, 2009 at 11:31 AM, Marli <marli.baumann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, just looking for some recommendations on testing frameworks to > use for complex models with many associations. Fixtures just aren''t > cutting it and I need a new option. Been looking into factory_girl. > Any recommendations you could throw out would be very helpful. >You don''t need a testing framework, you need some kind of object generator. FactoryGirl Should be just fine. You can also take a look at machinist[1] and spawn[2] [1]http://github.com/notahat/machinist/ [2]http://github.com/soveran/spawn -- Leonardo Mateo. There''s no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I moved off fixtures a long time ago and never looked back. I tend to favor FactoryGirl, but machinist seems to work just as good for my purposes. Darian Shimy -- http://www.darianshimy.com http://twitter.com/dshimy On Tue, Nov 24, 2009 at 6:31 AM, Marli <marli.baumann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, just looking for some recommendations on testing frameworks to > use for complex models with many associations. Fixtures just aren''t > cutting it and I need a new option. Been looking into factory_girl. > Any recommendations you could throw out would be very helpful. > > Thanks, > Marli > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.