We’ve brought these command-line options together in one chapter so that you can refer to them whenever you want to do something special for a single test run. Sometimes, though, you may need custom behavior for every run.
Rather than wasting time typing the same options over and over, you can save a set of arguments as command-line defaults. As the term implies, RSpec will use these by default for every run—but you can still override them.
To set defaults, save your desired options in a text file at any of the following three paths:
Use this file in your home directory to store global personal preferences. RSpec will use it for any project on your machine. For instance, you may prefer to stop your test ...