Faster RSpec: Profiling FactoryGirl
One way to speed up a slow test suite is to optimize how FactoryGirl is used, but where do you focus your efforts? Before tuning your factory usage, use FactoryGirlProfiler
to measure which factories are adding the most time to your test runs: https://www.wetestrails.com/blog/profiling-factorygirl
Post a comment