6

It doesn't really seem like factory_girl receives much attention these days. Is there a better alternative? I really like FG, but I need to know that they'll keep working on it.

Particularly the slow pace of factory_girl_rails is annoying.

Daniel Schierbeck
  • 1,942
  • 2
  • 17
  • 24
  • What do you need from factory_girl that it doesn't already provide? – grifaton May 23 '11 at 21:15
  • I don't know if by "slow pace" OP was referring to how long it takes to load FG compared to fixtures. That's certainly something I find annoying, though. I can't just run rake:tasks and get a 2 second result, so I have to be more careful about making small changes and testing them. – Eric Hu May 23 '11 at 22:12

3 Answers3

10

I personally prefer Fabrication, but that's because it supports a few different ORMs and I use Mongoid. Also, it's been pretty fast in the tests I run.

Evan Walsh
  • 443
  • 6
  • 16
3

I like: https://github.com/ginty/cranky

Much simpler so it never breaks, doesn't need a -rails gem and works with any ORM.

Ginty
  • 3,483
  • 20
  • 24
3

I know Machinist but according to this post, it doesn't really differ from Factory Girl.

Community
  • 1
  • 1
apneadiving
  • 114,565
  • 26
  • 219
  • 213