-
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.
-
Keep it simple.
-
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:...
-
For almost three years now, FactoryBot1 has provided developers using...
-
FactoryBot’s traits are an
outstanding way to DRY up your tests and factories...
Sign up to receive a weekly recap from thoughtbot