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!

Faster unit tests by skipping loading fixtures

A lot of the time when running individual unit tests was wasted re-loading fixtures into the test db, but I figured out how to let ActiveRecord think it’s loading in fixtures w/o actually touching the DB. If you’re stuck with a lot of fixtures, maybe this will help your tests run faster!

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