I also get the infinite looping of the cucumber features being run. The way I stopped it is by adding this:
Autotest.add_hook :initialize do |at| %w{.svn .hg .git vendor rerun.txt}.each {|exception| at.add_exception(exception) } end to ~/.autotest Is there a better to do this? On Wed, Feb 17, 2010 at 4:13 PM, David Chelimsky <dchelim...@gmail.com>wrote: > On Tue, Feb 16, 2010 at 10:24 PM, patrick99e99 <patrick99...@gmail.com> > wrote: > >> What command are you running? > > > > I have just been doing script/autospec > > > > .. I actually posted on the rspecbook forum (haven't heard anything > > yet, so I'll ask here) regarding autospec.. When I ran it, it told me > > that features were being skipped unless I supplied an environment > > variable AUTOFEATURE=true... So, I exported that variable in my > > bashrc file, but I find that my tests automatically rerun themselves > > every second with autofeature turned on... So even if I am not > > updating/saving files, the tests just keep getting executed over and > > over.. Is there a reason for this? When I watched BDDCasts, they > > were using autospec with their features, and it didn't appear to > > behave that way for them, so I was wondering. > > That's likely because cucumber is generating a rerun.txt file and > autotest is picking that up for some reason. > > > > > > -patrick > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- Andrei Erdoss
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users