[rspec-users] What is SpecServer?
David Beckwith
dbitsolutions at gmail.com
Fri Mar 28 14:35:22 EDT 2008
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
<mailing_lists at railsnewbie.com> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
--
SMS/Text: +63 905 220 2207
Skype: dbit_solutions
More information about the rspec-users
mailing list