Watchr: A Flexible, Generic Alternative to AutoTest

Courtesy Ruby Inside  Thu, 09/24/2009 - 04:33

watcherWatchr is a continuous-testing tool by Martin Aumont in the vein of Autotest (part of the ZenTest package).

Unlike Autotest, Watchr doesn't depend on rubygems, and you can set it up to watch any of your project's files, executing arbitrary ruby when things change.  Watchr configuration takes the form:

watch('pattern') { |match_data_object| command_to_run }

For example, to produce Autotest-like functionality, you'd just specify Watchr to run the tests whenever a test or some library code...


 

More related items

Zend Framework application.ini Cheat-Sheet -...
With the release of Zend Framework 1.8 came the long awaited component for bootstrapping a Zend Framework application. Many different bootstrapping-solutions became obsolete with...

Freek Lijten's Blog: Git commit hooks using PHP
In this new post from Freek Lijten he looks at a set of git commit hooks written in PHP for making things happen before, during and post commit. Git hooks are usually found inside the...

Watchr – More Than An Automated Test Runner
Watchr is a development tool that monitors a directory tree and triggers a user defined action (in Ruby) whenever an observed file is modified. Its most typical use is continuous testing,...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com