Do these test cases are compatible both running in IE and firefox? How about it to the test cases with/without using test unit? Should each test cases need to be changed, or just change the browser name at the control list. Regards, Jason
________________________________ From: [EMAIL PROTECTED] 代表 ?eljko Filipin Sent: 2007-1-22 (星期一) 7:43 To: [email protected] Subject: Re: [Wtr-general] How to run test cases in sequence rather thanatthe same time? On 1/22/07, Jason He <[EMAIL PROTECTED]> wrote: However, it seems that test unit encapsulate some methods could handle error You can also handle errors in ruby without test unit. Take a look at Exceptions, Catch, and Throw section of Programming Ruby (http://www.rubycentral.com/book/tut_exceptions.html <https://neo/book/tut_exceptions.html,DanaInfo=www.rubycentral.com+> ). as well as include some statistics for the test result. You can also make your own statistics. What is the suggestion if I want to write about 200~300 standalone test cases, which will run in a sequence, should I use test unit or without it? Without test unit. But, it is only what I think. If you really like test unit, Bret made a patch for it so methods are run in order you define them, but I did not try it. Take a look. http://wiki.openqa.org/display/WTR/Test-Unit+Patch <https://neo/display/WTR/Test-Unit+Patch,DanaInfo=wiki.openqa.org+> -- Zeljko Filipin zeljkofilipin.com <https://neo/,DanaInfo=zeljkofilipin.com+>
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
