Nathaniel Talbott said: > On Jun 11, 2004, at 13:50, Jim Menard wrote: >> David A. Black writes: >>> You're implying, I believe, that Test::Unit runs the test methods in >>> arbitrary order. It doesn't; it runs them in alphabetical order. >> >> Is that guaranteed by the API or should I not rely on it? > > It is guaranteed. Even if other orderings are added at some point in > the future, running in alphabetical order will always be supported. Even if it is guaranteed, I recommend not relying on it in the tests themselves. Each test should be very loosely coupled to its siblings and the order should not matter. -- -- Jim Weirich jim / weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)