[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Annoyance when running unit tests in eclipse
timfox
do-not-reply at jboss.com
Sat Sep 20 03:26:13 EDT 2008
Ok. so I worked out where logs from running tests in eclipse goes - it uses the main log4g config from src/config so the logs go in trunk/logs.
This is all back to front and upside down.
We should have:
1 main log4j config file which lives in src/config this is used for server logging, not for tests.
1 log4j config file in tests/config - this is used for tests and nothing else. "Tests" include:
a) Tests run in eclipse
b) Tests run using runtest on the command line
c) Tests run using ant from command line (normal test suite)
For consistency test log4j output should go to tests/logs, not tests/output/logs or tests/build/logs or anywhere else.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177777#4177777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177777
More information about the jboss-dev-forums
mailing list