Skip to content

Commit dcfaa0e

Browse files
committed
adding docs about using test with spring
1 parent 71ad9cc commit dcfaa0e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@ bundle exec rake parallel:drop
171171

172172
For more information about parallel tests check [parallel_tests gem.](https://github.com/grosser/parallel_tests)
173173

174+
### Running single test faster with spring ###
175+
176+
You can use spring to run single tests faster. There is bin/rspec stub that will run the tests with spring. You can use it like this:
177+
178+
```ruby
179+
bin/rspec spec/models/user_spec.rb
180+
```
181+
182+
or just prepend spring to the command:
183+
184+
```ruby
185+
bundle exec spring rspec spec/models/user_spec.rb
186+
```
187+
174188
## DOCUMENTATION ##
175189

176190
### API ###

0 commit comments

Comments
 (0)