rails fake data, considering switch from faker to forgery, any advantages or pitfalls?

Posted by Michael Durrant on Programmers See other posts from Programmers or by Michael Durrant
Published on 2012-06-09T15:18:13Z Indexed on 2012/06/09 16:46 UTC
Read the original article Hit count: 364

With Ruby on Rails I've usually used Forgery for generating dummy data for testing.

I've noticed recently that several clients and tutorials are using Faker

They both seem fairly similar in use and popularity:
Faker 128 forks, 418 watchers.
Forgery 59 forks, 399 watchers.

They both seem similar in how current they are:
Faker Most updates are from 6 and 9 months ago.
Forgery Most updates are from 4 and 9 months ago.

The one distinguishing factor I've found so far is that Forgery seems like it has better instructions.

Are there any particular benefits or disadvantages to using one over the other?
Have you ever needed to switch from one to another for a particular reason?

© Programmers or respective owner

Related posts about testing

Related posts about ruby