Looks to me like they're running in alphabetical order.  But why are you
using /require/ instead of calling them?

---Michael B. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roy Sin
Sent: January 5, 2006 8:45 PM
To: [email protected]
Subject: [Wtr-general] interesting behavior of require in my TestSuite torun
test cases in a sequential order...

Hi Wtr,
I have a few classes, each class is a test case for a
Report and I'm trying to run them all together in a
TestSuite. Here is my reports_testsuite.rb :

require 'login'

# run Test Cases in the order listed below
require 'stopRpt_test'
require 'landmarkSumRpt_test'
require 'mileageSumRpt_test'
...

But when i ran it, landmarkSumRpt runs first follow by
mileageSumRpt , then the last one is StopRpt. I even tried
to 
prefix with 
'test1_stopRpt_test'
'test2_landmarkSumRpt_test'
'test3_mileageSumRpt_test'

but still test1_stopRpt_test will run last.

I also puts a text at the beginning of each of my test
cases to know when each one starts but instead I get:
Stop Report Test Case running...
Landmark Summary Test Case running...
Mileage Summary Test Case running...
Loaded suite
C:/TestAutomation/workspace/QA_TestAutomation/gmmsunittests_Staging/reports/
reports_testsuite1
Started

Has anyone experience this type of situation?

thanks  




                
__________________________________________ 
Yahoo! DSL - Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to