Sample Data with Factory Bot and Faker

Published: Oct. 29, 2017, 2 p.m.

Factory Bot is a fixtures replacement which can generate the needed records directly in the tests. Faker can be used to create fake data for these records.