Stephen...only once per test or once per test case. I usually do it so that it's once per test, in setup, that way I know I have a clean environment each time. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers
"Stephen
Haberman" To:
<[EMAIL PROTECTED]>
<stephenh@chas cc:
e3000.com> Subject: junit fixtures
06/19/02 01:15
PM
Please respond
to "Turbine
Maven Users
List"
Hi,
I need to setup Log4j and Turbine for my unit tests but am having
trouble doing it only once. I've tried setUp() and even the class static
initializer, but with the JUnit reflection going on, I can't seem to get
things to persist from test to test.
Does anyone have a good way of setting up resources only once in
Mavenized unit tests?
Thanks,
Stephen
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
