Sha256: 0c8bdee8f7884ee14c1bbe2784b5d62d603ab2033513b9c652e668f7703fb78e
Contents?: true
Size: 931 Bytes
Versions: 2
Compression:
Stored size: 931 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') commonwatir_dir = "commonwatir-#{File.read("VERSION").strip}" rescue "commonwatir" libs = [] libs << File.join(topdir, '..', commonwatir_dir, 'lib') libs << File.join(topdir, '..', commonwatir_dir) # for the unit tests libs.each { |lib| $LOAD_PATH.unshift File.expand_path(lib) } require 'watir/browser' Watir::Browser.default = 'firefox' require 'unittests/setup/lib' module Watir::UnitTest alias :uses_page :goto_page end require 'unittests/setup/testUnitAddons' commondir = File.join(topdir, '..', commonwatir_dir) $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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
firewatir-1.6.6 | unittests/setup.rb |
firewatir-1.6.6.rc2 | unittests/setup.rb |