Gems are a packaged library of functions that can extend your application or provide other features to your system. Learn to create and publish a ruby gem.
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.