Exploring how to use FactoryBot effectively with models backed by plain Ruby objects.
factory_girl is becoming factory_bot.
Your test suite used to be lightning fast but now it’s starting to feel a bit sluggish. Before adding CI parallelization, let’s see if there’s any clutter to remove.
Learn one simple way to speed up your tests with the factory_bot gem!
Occasionally, somebody recommends or asks about using FactoryBot to generate...
There are times in your tests when you need to create multiple instances of...
Have you ever added a seemingly innocent validation to a model, like so:...
FactoryBot’s traits are an
outstanding way to DRY up your tests and factories...