Running Smaller Groups of Tests: RSpec

RSpec running smaller groups of tests

We recommend using the rspec command directly rather than going through any rake tasks that RSpec defines because it’s a bit faster. The rspec command can take one or more arguments: files, directories, or file globs. For file globs, all matching files are run the following way:

Get hands-on with 1400+ tech skills courses.