[Wtr-general] Harness question
Max Russell
mrussell at inpses.co.uk
Wed Oct 18 14:24:27 EDT 2006
I'd like to structure my test harness to use main directory containing
the harness and any libraries I write and to keep my tests in a
subdirectory Tests
I've been trying to get the following to run
class TestSuite < Test::Unit::TestCase
def test_centralvision
load 'test_centralvision.rb'
end
def teardown
ie = Watir::IE.attach(:title, "Central Vision")
ie.close
end
end
by changing the load command to load '\Tests\ test_centralvision.rb' but
that doesn't work, it returns LoadError: no such file to load --
\Tests\test_centralvision.rb
I'm doing something obvious and stupid here, but my minds jamming up!
Max Russell
test Analyst.
InPS
Tel: 01382 223900
Fax: 01382 204488
Visit our Web site at www.inps.co.uk
The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of In
Practice Systems Limited or any of its affiliates. If you are not the
intended recipient please contact is.helpdesk at inps.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061018/805920b1/attachment.html
More information about the Wtr-general
mailing list