factory_bot 6.3.0 is out, with Ruby 3.2 support, better docs, and more hooks.
We have improved the documentation for factory_bot, the fixture replacement.
Exploring how to use FactoryBot effectively with models backed by plain Ruby objects.
Static attributes have been the source of much confusion over the years. Their deprecation will come with a rubocop-rspec Cop to automatically replace with dynamic attributes.
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...