RSpactor allows to automatically & intelligently launch your specs when your files are modified. Version 0.7.x is a complete rewrite, RubyCocoa is no more needed, FSEvents & Inotify are supported from scratch.
-
FSEvent support on Mac OS X (without RubyCocoa!)
-
Inotify support on Linux
-
RSpec 1.x & 2.x (from beta.18) support
-
Bundler support
-
Super fast change detection
-
Automatic _spec.rb files detection (even new file created, unlike watchr)
-
Growl notification (please install growlnotify)
-
Libnotify notification
Only Mac OS X (10.5+) & Linux are supported. Tested on Ruby 1.8.7 & 1.9.2dev.
Install the gem:
gem install rspactor --pre
If you are using Bundler, please add it to your Gemfile (inside test group):
gem 'rspactor', '>= 0.7.beta.2'
Just launch RSpactor inside your ruby/rails project with:
rspactor
Options list is available with:
rspactor -h
Signal handlers are now used to interact with RSpactor:
-
Ctrl-C - Quit RSpactor or quick abort running spec(s)
-
Ctrl-\ - Running all specs
-
Specific files (spec_helper, factories, fixtures…) inspections
-
Spork support (when this issue will be resolved)
-
LiveReload support
-
Cucumber support (You can use Steak in the meantime)
-
.rspec options file support
-
Other ideas?
-
Source hosted at GitHub
-
Report issues/Questions/Feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.
From version 0.7.x was completely rewritten by Thibaud Guillaume-Gentil.
Older versions authors are:
Thanks to Giovanni Cangiani for the IO.popen/FSEvent trick & Rémy Coutable for beta testing.