Sha256: 98653fd2f58dc23c1882fb0520be7914a75dfefecbfc1f8d1ec5592bedbc7e75
Contents?: true
Size: 866 Bytes
Versions: 1
Compression:
Stored size: 866 Bytes
Contents
$SETUP_LOADED = true $myDir = File.expand_path(File.dirname(__FILE__)) topdir = File.join(File.dirname(__FILE__), '..') $firewatir_dev_lib = File.join(topdir, 'lib') $watir_dev_lib = File.join(topdir, '..', 'watir', 'lib') libs = [] libs << File.join(topdir, '..', 'watir-common', 'lib') libs << File.join(topdir, '..', 'watir-common') # for the unit tests libs.each { |lib| $LOAD_PATH.unshift File.expand_path(lib) } require 'watir' Watir::Browser.default = 'firefox' require 'unittests/setup/lib' module Watir::UnitTest alias :uses_page :goto_page end require 'unittests/setup/testUnitAddons' require 'unittests/iostring' commondir = File.join(topdir, '..', 'watir-common') $all_tests = [] Dir.chdir topdir do $all_tests += Dir["unittests/*_test.rb"] end Dir.chdir commondir do $all_tests += Dir["unittests/*_test.rb"] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
firewatir-1.6.2 | unittests/setup.rb |