[rspec-users] rspec and autotest (was: questions rspec on rails)

Jonathan Linowes jonathan at parkerhill.com
Wed May 30 01:38:02 EDT 2007


i havent done a scientific analysis but here's an example of whats on  
my autotest console when it decides to repeat itself

# Waiting at 2007-05-30 01:33:19

script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb;  
script/spec -O spec/spec.opts  spec/models/user_notifier_spec.rb
...........FFFF



On May 29, 2007, at 7:17 PM, David Chelimsky wrote:

> On 5/29/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
>> yes, latest of both
>>
>> it happens when i have a syntax error in the file being tested (i  
>> think)
>
> I haven't experienced that with the latest versions. Please do let us
> know what you discover.
>
> Cheers,
> David
>
>>
>>
>> On May 29, 2007, at 5:51 PM, David Chelimsky wrote:
>>
>>> Do have the latest versions?
>>>
>>> RSpec-1.0.3
>>> ZenTest-3.6.0
>>>
>>> ---------- Forwarded message ----------
>>> From: Jonathan Linowes <jonathan at parkerhill.com>
>>> Date: May 29, 2007 11:47 AM
>>> Subject: Re: [rspec-users] questions rspec on rails
>>> To: rspec-users <rspec-users at rubyforge.org>
>>>
>>>
>>> Hi, I should have mentioned I already did that. Here's my spec.opts
>>> file
>>>
>>> --colour
>>> --format
>>> progress
>>> --loadby
>>> mtime
>>>
>>>
>>>
>>> On May 29, 2007, at 7:17 AM, David Chelimsky wrote:
>>>
>>>> On 5/29/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
>>>>> Hi, rather than flooding this list with separate emails, I've been
>>>>> queueing up questions using rspec with rails. (an irc channel  
>>>>> would
>>>>> be nice too :) Here ya go...
>>>>
>>>> Actually, we prefer separate email. There's too much here for  
>>>> any one
>>>> person to answer quickly and since this will all be part of one
>>>> thread
>>>> it becomes difficult to find the great answer you got from so  
>>>> and so
>>>> in a month.
>>>>
>>>> I'll answer one.
>>>>
>>>>> - Running autotest, when a spec errors, autotest sometimes  
>>>>> tries re-
>>>>> running the test 2, 3, sometimes many more times repeatedly  
>>>>> although
>>>>> I dont touche the file again. Is this a known bug?
>>>>
>>>> It's more of a conflict than a bug. Easily resolved:
>>>>
>>>> http://rubyforge.org/tracker/?
>>>> func=detail&group_id=797&aid=11147&atid=3149
>>>> http://blog.davidchelimsky.net/articles/2007/05/29/rspec-and- 
>>>> autotest
>>>> _______________________________________________
>>>> rspec-users mailing list
>>>> rspec-users at rubyforge.org
>>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list