Running Smaller Groups of Tests: RSpec
Learn RSpec metadata and how we can run RSpec smaller groups of tests.
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.