A long time ago I used parallel test with some limited success.  It worked 
with unit tests but broke with RSpec/Capybara or Cucumber specs.  I 
remember hearing of another library called Hydra, but I've never used it. 
 Same with https://github.com/joakimk/testbot 
and https://github.com/jnicklas/rspec-concurrent   Can't be of more help 
but maybe you can check those out.  If you get something working be sure to 
post back, as I'd be interested in what you got working.

On Monday, April 1, 2013 2:28:50 AM UTC-7, [email protected] wrote:
>
> Hey Guys,
>
> I have been working on a Rspec/Selenium Webdriver test framework where I 
> need to run my Rspec tests distributed across multiple files in same 
> directory spec/*_test.rb.I was looking for the existing solutions available 
> and stumbled upon deep test gem (https://github.com/qxjit/deep-test) 
> which helps driving the tests in parallel leveraging selenium grid but I 
> was not able to implement it based on the documentation available and looks 
> like there is no active development going on with it.Are there any ported 
> version of deep test available to work with RSpec > 2.0.
>
> I also looked into parallel_tests (
> https://github.com/grosser/parallel_tests) but not sure how we can use it 
> for running multiple process on the same cpu with each process running a 
> different rSpec test.
>
> Here is a snippet from one of my spec file,
>
> require 'selenium-webdriver' require 
> File.join(File.dirname(*FILE*),'../support/Setup') 
> require 'rspec' require 
> File.join(File.dirname(*FILE*),'../support/spec_helper') 
> require File.join(File.dirname(*FILE*),'../support/Helper')
>
> describe "Test", :type => :selenium do
>
> it "should search for flights" do airline.home_page.queryFlight('oneWay', 
> 'ATL', 'ORD', 'today') end
>
> it "should list all the flight results and select one flight" do 
> airline.flight_list_page.selectFlight end end
>
> similarly i have other spec files which I am trying to run in parallel.
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/D7_9mnJkdzMJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to