On Wednesday 04 February 2009 12:01:54 Michael McCandless wrote: > Though: I thought JUnit invokes tests in the sequential order as they > are defined in your class? (I'm not sure about this... it's just > what seems to be the case).
Just looking at one of my unit tests: It reorders in some cases. If you need order or setup / cleanup, the FAQ http://junit.sourceforge.net/doc/faq/faq.htm#tests_2 is a good starting point. It also states: > The ordering of test-method invocations is not guaranteed, ... Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org