I guess I could just try it, but does spec_server  work with autotest too?

ie.
ruby script/spec_server &
autotest

?


On Wed, Mar 12, 2008 at 9:36 PM, Scott Taylor
<[EMAIL PROTECTED]> wrote:
>
>  On Mar 13, 2008, at 12:17 AM, Mikel Lindsaar wrote:
>
>  > I have looked through the docs, looked at the code, even gave a
>  > cursory (2 page) glance at google, and it is not clear to me what
>  > SpecServer is or what it is for.
>  >
>  > Is it meant to speed up the execution of specs in a rails environment
>  > by doing some magic on the database?
>
>  The spec server does no magic. It load the rails environment, and the
>  runs the specs through Drb (look up the rdoc for Drb/Rinda).
>
>
>  > Or I am thinking it keeps a copy of Rails running to avoid the rails
>  > reload delay...
>
>  Yep - that's pretty much it.  It usually takes a few seconds to load
>  up the rails environment, and if you are running your specs every few
>  seconds, that can shave off a lot of time from your dev cycle over time.
>
>
>  >
>  > Is there any documentation on this so I can go find out instead of
>  > bugging the list? :)
>
>  No - not really.  All you need to do is start the spec_server:
>
>  ruby script/spec_server
>
>  The specs can then be run through the server with --drb (put it in
>  spec.opts, if you always want to use it).
>
>  Scott
>
>
>
>  _______________________________________________
>  rspec-users mailing list
>  rspec-users@rubyforge.org
>  http://rubyforge.org/mailman/listinfo/rspec-users
>



-- 
SMS/Text: +63 905 220 2207
Skype: dbit_solutions
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to