[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Re: Server-side Testsuite Logging

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Apr 30 20:17:39 EDT 2007


On JBossMessaging we have a super class where we use setUp and tearDown to synchronize server and client logs.

http://anonsvn.jboss.org/repos/messaging/trunk/tests/src/org/jboss/test/messaging/MessagingTestCase.java

It is true though we aways call super.tearDown and super.setUp in all sub classes. Maybe it's possible to do the same thing with some double check on sub-classes. 


Example:

http://anonsvn.jboss.org/repos/messaging/trunk/tests/src/org/jboss/test/messaging/jms/BrowserTest.java

I don't know how this would behave with deployment setups from JBossTestCase, but it is a good idea to at least have the className on server side.






View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042015#4042015

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042015



More information about the jboss-dev-forums mailing list