I’m trying to run a test suite, but my
“main” file gets interrupted by an error when trying to use
“require watir/testcase”, the compiler keeps giving me a “no
such file to load” error, for the testcase example. I don’t see how
this should cause any trouble because the compiler recognizes the
“watir/testUnitAddons” file. I have checked to see that the file is
actually there, and it is. Here is my code. require 'watir' require 'test/unit' require 'test/unit/ui/console/testrunner' require 'watir/testUnitAddons' require 'watir/testcase' #topdir = File.dirname(__FILE__) #Dir.chdir topdir do # $all_tests = Dir["*Blogs.rb"] #end $all_tests.each {|x| begin timeout(1.0) do
|timeout_length|
require
x
end rescue Timeout::Error => e puts "Error Message: " + e end } And here is the error I keep getting. >ruby Automate.rb c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- runit/robserver (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from c:/ruby/lib/ruby/site_ruby/1.8/watir/testcase.rb:3
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from Automate.rb:6 >Exit code: 1 I’m using version 1.4.1 , Thanks, -Ryan |
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general