testdiff
Ruby gem to locally test only modified files.
Installation
Add this line to your application's Gemfile:
gem 'testdiff'
And then execute:
bundle
Or install it yourself as:
gem install testdiff
Usage
Run Rubocop and Rspec on all modified files:
testdiff
Run Rubocop on all modified files:
testdiff rubocop
Run Rspec on all modified files:
testdiff rspec