I want to execute my rspec tests in parallel
If I need all tests to perform on 6 cores I use bundle exec rake parallel:spec[6]
How can I specify a tag option for spec rake, eg --tag ~chat
Use SPEC_OPTS environment variable for passing options to rspec in this case.
Example:
$ SPEC_OPTS='--tag ~chat' bundle exec rake parallel:spec[6]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.