LastHit
You push code to test server and they fails after centuries wating.
Installation
Add this line to your application's Gemfile:
gem 'last_hit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install last_hit
Usage
- Run current modified tests (before commiting)
bundle exec rake last_hit:current_modified
- Run all changed tests of a branch from its fork with another branch
bundle exec rake last_hit:current_branch
- How to config LastHit: put these lines into /config/initializers/last_hit.rb
LastHit::Configure.config do |config|
config.test_command = "bundle exec rspec"
config.default_base_branch = "development"
end
Contributing
- Fork it ( https://github.com/[my-github-username]/last_hit/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request