I ran into this in my test also. What I ended up doing is naming my
tests:
def test01_SomeMeaningfulTestName
Code to test stuff
end
def test02_SomeMeaningfulTestName
Code to test stuff
end
def test03_SomeMeaningfulTestName
Code to test stuff
End
Etc.
Note: 'alphabetical' appears to be ascii based meaning your results may
be unexpected if you use numbers to try and force a specific order of
execution. Which means 1 2 3 4 5 6 7 8 9 10 11 12...will actually be
executed as 1 10 11 12 2 3 4 5 6 7 8 9. To get around this you would
need to do this: 01 02 03 04 05 06 07 08 09 10 11 12...
Forgive me if the seems overly obvious to you but it is usually the
simple and obvious things that mess me up ;-).
Hope this helps,
--Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Amita Shetty
Sent: Tuesday, August 02, 2005 9:58 PM
To: [email protected]
Subject: [Wtr-general] How to specify the order of execution of the
tests?
Hi,
How to specify the order/sequence of execution of tests while running
all tests in a folder at once? Right now the tests in the folder are
executed in the order of their names alphabetically.
Is there a way to specify the sequence of execution of tests?
Thanks in advance
Amitha
_______________________________________________
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