Thank you, I.ve tried this and it works with test cases, but how about when 
someone wants to use the test cases into a test suite and wants them to be 
exequted sequentially? For example if we have a couple of test cases that are 
subclasses of Watir::TestCase and we want them to be executed in a test suite 
like this: 

 require 'test/unit/testsuite'
 require 'mybox_login'
 require 'mybox_create_article'
 require 'mybox_delete_article'
 require 'mybox_logout1'


 class TS_MyTests
        
   def self.suite
     suite = Test::Unit::TestSuite.new
     suite << TC_MYBOX_Login.suite
     suite << TC_MYBOX_Create_Article.suite
     suite << TC_MYBOX_Delete_Article.suite
     suite << TC_MYBOX_Logout.suite
    
     return suite
   end
end

Is this the right way to tie-up test cases into a test suite? Because now I get 
them executed alphabetically, no matter that in the test cases I use 
watir/testcase.rb and 'execute: sequentially'.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3666&messageID=14237#14237
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to