Hi Paul, Properties files are not loaded when tests are executed by JUnit. There is an issue [1] for that problem. The current workaround is to load the Properties files manually or set the required properties in a static method annotated with @BeforeClass.
I'll try to spend some time with WOUnit since there are too many open bugs in the tracker. [1]https://github.com/hprange/wounit/issues/24 Cheers, Henrique On 10/04/2012, at 02:32, Paul Hoadley wrote: > Hi Henrique, > > Should Log4J logging in EOs under test just work during WOUnit testing? The > EOs and WOUnit tests are in a single framework. I have Properties.paulh in > that framework where I'm setting log levels and properties for a console > appender. I can see the properties get picked up at launch. Is there > something else I need to do to kick start Log4J logging here? I'm getting no > output to the console when I'm expecting it. > > > -- > Paul. > > http://logicsquad.net/ > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
