[Wtr-general] invoking tests in right order

Paul Carvalho tester.paul at gmail.com
Fri Aug 18 11:12:33 EDT 2006


Hello there,

Here is more information regarding the default order of test execution in
Ruby:

http://www.mail-archive.com/wtr-general@rubyforge.org/msg03593.html

-> This is how you may expect it to work if you are using Watir 1.4.1.

If you are using Watir 1.5+, then you have another option - you can specify
the order you want.  See this follow-up message in the archive:

http://www.mail-archive.com/wtr-general@rubyforge.org/msg03680.html


Cheers.  Paul.


On 18/08/06, dzen <forum-watir-users at openqa.org> wrote:
>
> hi all, i have the following problem
> i have a test1.rb placed in folder1 in test1.rb is the Test1 <
> Test::Unit::TestCase class then i have test2.rb in folder2. there is the
> Test2 class
> i want to run the test2.rb and to have first Test1 performed and then
> Test2
> im tring to do it with require test1.rb but what happend is first to be
> performed Test2 and then Test1
> why does this wors that way and how could that be solved
> thanks in advice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060818/a8c02391/attachment.html 


More information about the Wtr-general mailing list