Is Spring meant to work when I run my full rspec tests suite?

191 views Asked by At

I'm new to using the spring gem and have been impressed at how it has made my tests run quicker. I've followed the documentation:

  1. Included the spring and spring-command-rspec gems in the development and test groups

  2. ran $ bundle install

  3. ran $ bundle exec spring binstub --all

I have direnv, so can type rspec and it runs it with spring. So when I do

rspec ./spec/path/to/file_spec.rb

It runs it much quicker! Should I be expecting the same behaviour when I run:

$ rspec ./spec/

Because currently, it runs at the same speed as when I run it without spring.

Any pointers and advice would be appreciated, thanks.

0

There are 0 answers