Mailinglist Archive: opensuse-ruby (4 mails)

< Previous Next >
[opensuse-ruby] autotest
  • From: André Duffeck <aduffeck@xxxxxxx>
  • Date: Thu, 15 Jul 2010 10:14:30 +0200
  • Message-id: <201007151014.31315.aduffeck@xxxxxxx>
Hey,

i just stumbled about autotest (http://ph7spot.com/musings/getting-started-
with-autotest). It's a nifty little tool wich continously runs the tests on
your rails project whenever a source file has been changed. It will only run
the affected tests, so it's quite performant and it has a bunch of useful
plugins, e.g. for getting desktop notifications about the test results.

If you want to test it you need to install 2 gems

sudo gem install ZenTest autotest-rails

and just execute 'autotest' in the rails root.

Here's how you can enable desktop notifications:

sudo gem install test_notifier
echo 'require "test_notifier/autotest"' >> ~/.autotest

# Gnome users need libnotify
zypper in libnotify


Andre
--
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-ruby+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups