David Chelimsky
2007-May-29 21:51 UTC
[rspec-users] rspec and autotest (was: questions rspec on rails)
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
Jonathan Linowes
2007-May-29 22:46 UTC
[rspec-users] rspec and autotest (was: questions rspec on rails)
yes, latest of both it happens when i have a syntax error in the file being tested (i think) 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
David Chelimsky
2007-May-29 23:17 UTC
[rspec-users] rspec and autotest (was: questions rspec on rails)
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 >
Jonathan Linowes
2007-May-30 05:38 UTC
[rspec-users] rspec and autotest (was: questions rspec on rails)
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
I dont know if this is related but test.log contains these lines at the start of each time rspec runs ===== Wednesday, May 30, 2007 10:11:37 PM US/Eastern ====Spec::Rails::DSL::HelperEvalContextController: missing default helper path spec/rails/dsl/helper_eval_context_helper Spec::Rails::DSL::ViewExampleController: missing default helper path spec/rails/dsl/view_example_helper [4;36;1mSQL (0.000177) [0;1mSET SQL_AUTO_IS_NULL=0 [4;35;1mSQL (0.000072) BEGIN