factory_boy vs Snowfakery
factory_boy
factoryboy.readthedocs.ioSnowfakery
snowfakery.readthedocs.ioSide by side
| Figure | factory_boy | Snowfakery |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Linux | — | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Test Data Generation Tools | 7.0 (#23) | 7.9 (#8) |
| Generated data | factory_boy uses the Faker library to generate realistic random values. | Recipes can generate fake names, addresses, text, URLs, and other values, as well as random numbers. |
| Purpose | factory_boy replaces static test fixtures with customizable factories for complex objects. | Snowfakery generates unique, random fake data with relationships between tables from YAML recipe files. |
Plans
In their own words
factory_boy
factory_boy has no write-up on Specifiction yet; its figures are above.
Snowfakery
Snowfakery generates synthetic data from YAML recipe files, including records linked across tables. Recipes can create names, addresses, text, URLs, random numbers and other values using Faker-based functions, and specify how many related objects to generate. Output can go to files in JSON, TXT, CSV, SQL, DOT, SVG, SVGZ, JPEG and PostScript formats; some diagram formats require Graphviz. Snowfakery can also write to databases accessible through SQLAlchemy, including SQLite, and generate records in Salesforce when used through CumulusCI. Python applications can embed it with its generate_data function, and Python plugins and providers can extend its functions and Faker capabilities. Strict mode checks a recipe before generation, while validate-only mode checks it without generating data. It is free, open source and self-hosted. The documentation says database output creates new tables, with generated columns as text, and that SQLite is the only database included in its SQL dataset URL test suite. The repository was archived on September 18, 2026, and is read-only.