Fixturies: The speed of fixtures and the maintainability of factories
We had a rails app. We used factories in our tests, and it took ten minutes to run them all. That was too slow. (spoiler alert: by the end of this blog post, they will run in one minute.) We suspected that we could speed up the test run time by using fixtures instead, but worried …