We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to have the rspec hook run only on modified rspec files?
Looking at https://github.com/sds/overcommit/blob/master/lib/overcommit/hook/pre_push/r_spec.rb
it appears it runs the rspec command in it's entirety and doesn't have the option to limit it just to modified rspec files.
rspec
The text was updated successfully, but these errors were encountered:
Would welcome a pull request adding functionality to the RSpec pre-push hook to optionally allow running tests only for modified files.
You can use the modified_files helper.
modified_files
Sorry, something went wrong.
No branches or pull requests
Is there a way to have the rspec hook run only on modified rspec files?
Looking at
https://github.com/sds/overcommit/blob/master/lib/overcommit/hook/pre_push/r_spec.rb
it appears it runs the
rspec
command in it's entirety and doesn't have the option to limit it just to modified rspec files.The text was updated successfully, but these errors were encountered: