RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in