git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@12271 248e525c-4dfb-0310-94bc-949c084e9493
55 lines
1.2 KiB
Ruby
55 lines
1.2 KiB
Ruby
#requires
|
|
require 'rubygems'
|
|
#require 'watir'
|
|
runfromdir = "C:/webmip/trunk/tests/"
|
|
#require the test unit library
|
|
require 'test/unit'
|
|
#require our constants
|
|
require 'constants'
|
|
#require our useful helper methods
|
|
require runfromdir +'default_methods.rb'
|
|
|
|
#includes
|
|
#include Watir
|
|
@@ie = Watir::IE.new
|
|
@@ie.maximize
|
|
#set the speed of watir, we'd also set the speed of light but that's supposed to be a constant
|
|
@@ie.speed = :fast
|
|
|
|
#
|
|
# Setup default config
|
|
#
|
|
# Remove the test data
|
|
#
|
|
#dosql('begin cleanup_testdata; commit; end;')
|
|
#
|
|
# Set the system submission deadline
|
|
#
|
|
#dosql('begin UPDATE system_configuration SET value = \'20:00\'
|
|
# WHERE parameter = \'G_SUBMISSION_DEADLINE\'; commit; end; ')
|
|
|
|
#
|
|
#Set up our contracts before we start serious testing
|
|
#
|
|
#require 'usefulscriptthatmightsetupdata'
|
|
|
|
#
|
|
#Get our individual integration tests
|
|
#
|
|
|
|
#require 'exportdatatests'
|
|
#require 'drawingtests'
|
|
#require 'housingtests'
|
|
#require 'moduletests'
|
|
#require 'basestests'
|
|
#require 'addontests'
|
|
#require 'quote_reports'
|
|
#require 'exportdatatests'
|
|
require runfromdir +'enquirytests'
|
|
#require 'housingtests'
|
|
#require 'basestests'
|
|
#require 'drawingtests.rb'
|
|
#require 'user_management.rb'
|
|
|
|
#@@ie.wait
|
|
#@@ie.close |