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).

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
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to