Hello List,
For a small project I''ve been using ''ruby script/spec -X
spec'' to
execute my specs.
Now that I added ZenTest on it, found that the test takes longer to
run due the complete load of test environment.
Since autotest uses ''script/spec -O spec/spec.opts'' as the
command, I
decided to add --drb to spec.opts
Using --drb or -X, spec_server is just ignored and environment get
loaded locally.
Trying to pinpoint the problem, it seems that using -O don''t
handle/load set --drb, but when you put all the options in the command
line, works as expected.
Couldn''t find anything besides this
(rspec/lib/spec/runner/option_parser.rb:111)
on(*OPTIONS[:drb]) {}
=
Maybe I''m missing something, did anyone get it working?
Thanks in advance,
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the ingenuity of complete fools.
Douglas Adams
Edward Ocampo-gooding
2008-Feb-05 21:23 UTC
[rspec-users] DRb does not activate using options file
On Jan 30, 2008 7:43 PM, Luis Lavena <luislavena at gmail.com> wrote:> Hello List, > > For a small project I''ve been using ''ruby script/spec -X spec'' to > execute my specs. > > Now that I added ZenTest on it, found that the test takes longer to > run due the complete load of test environment. > > Since autotest uses ''script/spec -O spec/spec.opts'' as the command, I > decided to add --drb to spec.opts > > Using --drb or -X, spec_server is just ignored and environment get > loaded locally. > > Trying to pinpoint the problem, it seems that using -O don''t > handle/load set --drb, but when you put all the options in the command > line, works as expected. > > Couldn''t find anything besides this (rspec/lib/spec/runner/option_parser.rb:111) > > on(*OPTIONS[:drb]) {} > > => > Maybe I''m missing something, did anyone get it working? > > Thanks in advance, > -- > Luis Lavena > Multimedia systems > - > A common mistake that people make when trying to design > something completely foolproof is to underestimate > the ingenuity of complete fools. > Douglas Adams > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >I''m also having this problem where --drb isn''t being picked up.
Apparently Analagous Threads
- Combining autotest, rspec, rspec_on_rails and spec-server
- RSpec: "--color" not working in spec.opts when combined with "--drb"
- RC1, Rails, and problems with multiple options in spec.opts
- Problem running examples with spec_server
- AssociationTypeMismatch with RSpec 1.0.8, autotest running with drb