[Comment] Re: Locating log4j.properties within Eclipse

When I add LOG4J_PROPS, the error message about no appenders goes away, but there is an unwelcome side effect.
Prior to the change, Run… [Test] displays
(*) Run a single test
Project foo
Test class: com.foo.test.Test
Test method:testBar

After adding LOG4J_PROPS, the test method goes away. It's not a writeable text-entry field, so I cannot retype the desired method. This causes all tests in the class to run, not just the desired method. Ideas?
Also, is there a way to have one LOG4J_PROPS apply as a default to all tests?

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge