Writing Faster Tests by Bypassing Rails
Explore methods to speed up your Ruby on Rails tests by running tests that avoid loading the entire Rails framework. Understand test categories and learn to reclassify tests for faster execution without sacrificing reliability.
We'll cover the following...
We'll cover the following...
Bypassing Rails for faster tests
Another way to run tests without loading the entire Rails framework is to write tests that don’t require the entire Rails framework. That sounds crazy, and we know since we’re writing a Rails application. Let’s see what we mean.
The tests we’ve written so far ...