factory_boy vs RandomUser
factory_boy
factoryboy.readthedocs.ioRandomUser
randomuser.meSide by side
| Figure | factory_boy | RandomUser |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | — | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 2 |
| Spec score · Test Data Generation Tools | 7.0 (#23) | 8.3 (#3) |
| Purpose | factory_boy replaces static test fixtures with customizable factories for complex objects. | The API generates random user data for application testing. |
Plans
In their own words
factory_boy
factory_boy has no write-up on Specifiction yet; its figures are above.
RandomUser
RandomUser is a free, open-source API that generates synthetic user records for application testing. Results are available as JSON, PrettyJSON, CSV, YAML, or XML, with fields including names, locations, emails, login details, birth and registration information, phone numbers, photos, and nationality. Requests can filter by gender or nationality, set a seed, paginate results, and include or exclude fields. Password generation supports selectable character sets and configurable length, with a default range of 8–64 characters. The API uses its latest version by default, while callers can request a specific version such as 1.4. Documentation demonstrates browser requests with AJAX and jQuery. The service is available through both web and API access, with up to 5,000 generated users per request. A free Photoshop extension has a CC 2017 limitation, and the Sketch extension remains in development.