Forum: RSpec DeepTest with 1.2.6?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Adam A. (Guest)
on 2009-05-28 13:13
(Received via mailing list)
Just curious if anyone is running DeepTest with rspec 1.2.6. I can't
even do
a '$ rake -T' on the deep-test repo at
git://github.com/qxjit/deep-test.git

When I try to run deep_test using their provided rspec example at
http://github.com/qxjit/deep-test it blows up and produces the
following:
Warning: DeepTest will run before(:all) and after(:all) blocks for
*every*
test that is run.  To remove this warning either convert all
before/after
blocks to each blocks or set $show_deep_test_all_block_warning to false
[DeepTest] Started DeepTest service at druby://0.0.0.0:6969

Finished in 0.013916 seconds

0 examples, 0 failures
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/spec/runner.rb:30:in
`examples_to_run': wrong number of arguments (0 for 1) (ArgumentError)
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/spec/runner.rb:30:in
`send'
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/spec/runner.rb:30:in
`process_work_units'
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/spec/runner.rb:30:in
`map'
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/spec/runner.rb:30:in
`process_work_units'
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/process_orchestrator.rb:22:in
`run'
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/process_orchestrator.rb:4:in
`run'
        from
/opt/local/lib/ruby/gems/1.8/gems/deep_test-1.2.2/lib/deep_test/spec/runner.rb:24:in
`run'
        from
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/options.rb:119:in
`run_examples'
        from
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/lib/spec/runner/command_line.rb:9:in
`run'
        from /opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.6/bin/spec:4
Scott T. (Guest)
on 2009-05-28 13:22
(Received via mailing list)
Adam A. wrote:
> $show_deep_test_all_block_warning to false
> [DeepTest] Started DeepTest service at druby://0.0.0.0:6969
> <http://0.0.0.0:6969>

My impression is that it was always sort of buggy and it was hard to
reproduce certain bugs in certain configurations - so I'm not sure if it
ever worked.  I never got it to fully work on my own machine.

You might try contacting David Vollbracht, who was the one who added in
rspec support (this was probably 6 months ago or so now).

I'd be interested in hearing if anyone is actually using it.

Scott
Ben M. (Guest)
on 2009-05-28 18:51
(Received via mailing list)
Scott T. wrote:
>> *every* test that is run.  To remove this warning either convert all
> in rspec support (this was probably 6 months ago or so now).
>
> I'd be interested in hearing if anyone is actually using it.
>
I tried using DeepTest but I never had success with it.  I was able to
get it to run but on a single machine with two workers (for it's two
cores) and it ran considerably slower than just running rspec alone.  I
tried it on a brand new app and saw the same results.  Support was added
for RSpec but I highly doubt anyone really used it in real life.  I
would love to hear otherwise though.

-Ben
This topic is locked and can not be replied to.