Registry / testing / spectator

spectator

JSON →
library1.4.1rbrubygemsunverified

Spectator watches specs for Ruby or Rails projects and automatically reruns them on file changes.

gem install spectator
INSTALL
IMPORT
SIG · SPECTATOR
S
spectator
testingrubyv1.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Spectator
require 'spectator'

Watch a spec directory and run tests on changes.

require 'spectator' Spectator.watch('spec/') do |file| system("rspec #{file}") end
Debug
Known issues
breakingSpectator is designed for Ruby 1.8/1.9 and Rails 2/3; may not work with modern Ruby versions.
fix
Use a modern test watcher like guard-rspec or rspec-watch.
affects: >= 1.0.0
Upgrade
Version history
1.4.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources