Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
NO MORE MAINTAINED! Please try Guard http://github.com/guard/guard
Ruby C
Tag: v0.7.0.beta.6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.bundle
bin
ext
lib
spec
.gitignore
CHANGELOG.rdoc
Gemfile
Gemfile.lock
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 & Inotify are supported from scratch.

Features

  • 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

Install

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'

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

  • 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?

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.