FixtureBot: the speed of fixtures with the syntactic sugar of factories
I got tired of reading about how RSpec + Factories are slow and watching everybody port their stuff to minitest and fixtures, so I tackled the “factories are slow” problem with FixtureBot and wrote about it at https://beautifulruby.com/code/fixturebot.
It’s no a drop-in FactoryBot replacement, but it does let you create fixtures in Ruby without the tedium of doing it in YAML.
Comments
Bad link – there’s a period at the end that shouldn’t be there.
Should be: https://beautifulruby.com/code/fixturebot
Post a comment