Jason He wrote: > Yes, they are the subclass of Test::Unit::Testcase, each one will be a > standalone script, and combined by a list script who will start the test. > OK.
Test-unit does not execute test cases when they are loaded (e.g. with require). Rather, after all the test cases are loaded, test-unit will automatically build (and then run) a suite that consists of all subclasses of Test::Unit::Testcase. It doesn't matter what order they were loaded! That's how it works. If you don't like that behaviour, you will need to look at the rdoc for test-unit and build your own test-suite instead. I know, an example would be handy, but ... maybe some one else can help. Bret _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
