Mailinglist Archive: opensuse-ruby (4 mails)

< Previous Next >
Re: [opensuse-ruby] autotest
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Thu, 15 Jul 2010 16:08:08 +0200
  • Message-id: <20100715140808.GN8921@xxxxxxxxxxxx>
On 2010-07-15 10:14:30 +0200, André Duffeck wrote:
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.

zypper in rubygem-autotest rubygem-ZenTest

Here's how you can enable desktop notifications:

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

wanna package that?

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
--
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-ruby+help@xxxxxxxxxxxx

< Previous Next >
References