Skip to content
NO MORE MAINTAINED! Please try Guard http://github.com/guard/guard
Ruby C
Find file
Pull request Compare This branch is 303 commits ahead, 13 commits behind mislav:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
ext/fsevent
lib
spec
.gitignore
Gemfile
LICENSE
README.rdoc
Rakefile
rspactor.gemspec

README.rdoc

RSpactor

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 are supported from scratch.

Features

  • FSEvent support (without RubyCocoa!)

  • RSpec 2.0 support (from beta.14)

  • Bundler support

  • Super fast change detection

  • Automatic _spec.rb files detection (even new file created, unlike watchr)

  • Growl notification (please install growlnotify)

Install

At the moment, only Mac OS X (10.5+) is 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.1'

Usage

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

TODO

  • Specific files (spec_helper, factories, fixtures…) inspections

  • RSpec 1.3 support

  • Inotify support (linux)

  • Spork support (when this issue will be resolved)

  • Cucumber support (if really needed? Steak works fine)

  • .rspec options file support

  • Other ideas?

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

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.

Something went wrong with that request. Please try again.