I've done this experiment too  on Win7 with Ruby 1.9.2 and DevKit 4.5
I installed into c:/ruby192 and c:/rubydevkit450 respectively
I also have c:/ruby186 for my regular ruby.
So if I want to swtich  ruby env I have to adjust the PATH (either
c:\ruby1xx\bin) and reboot. ( I use rvm for linux and it switches ruby
env great)

I ran my watirloo tests successfully on 1.9.2 . The only problem is
that I get segfault when I run threaded tests when I drive multiple
browsers.
https://github.com/marekj/watirloo/blob/master/spec/browser_threads_spec.rb
all others ran find (on IE8)

Warning: before running tests I have to adjust load path since ruby
1.9.2 no longer puts current dir on load path
http://stackoverflow.com/questions/2900370/why-does-ruby-1-9-2-remove-from-load-path-and-whats-the-alternative
This ended up trivial, very easy change.
here is an example of global replace
https://github.com/jeremyevans/sequel/commit/36eabe31d10f0e9ee71ce1063852939807f446ea

My change is like this
-require File.dirname(__FILE__) + '/spec_helper'
+require File.dirname(File.expand_path(__FILE__)) + '/spec_helper'

One thing I did not try yet is modal dialogs and js popups tests.
Not sure if autoit works.


marekj

http://rubytester.com
_______________________________________________
Wtr-development mailing list
Wtr-development@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to