Re: Log4J logging during WOUnit tests
Re: Log4J logging during WOUnit tests
- Subject: Re: Log4J logging during WOUnit tests
- From: Paul Hoadley <email@hidden>
- Date: Wed, 11 Apr 2012 10:06:09 +0930
Hi Henrique,
On 11/04/2012, at 2:46 AM, Henrique Prange wrote:
> Properties files are not loaded when tests are executed by JUnit. There is an issue [1] for that problem.
I was obviously imagining it yesterday when I wrote "I can see the properties get picked up at launch". You're right (naturally), they don't.
> The current workaround is to load the Properties files manually or set the required properties in a static method annotated with @BeforeClass.
Thanks.
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden