forkmode="once" will take care of that if you are using Ant 1.6.2+. Also, http://gsbase.sourceforge.net/ has a set of Junit extensions such as an OrderedTestSuite that might help you. (Of course, the purist approach says your unit tests should be independent of one another, but there can be times when that's just not the case).
Hope this helps Keith -----Original Message----- Oh, sorry, I forgot to mention something....This is how used it up to now. However, since each test will run individually, they take forever to finish. Somehow junit forces each test to have its own application context (?). Singletons kept in memory are lost once a new test class is loaded. If we pack everything into one suite we can get around that. -- Marcel Stör http://www.frightanic.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
