[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Application Server Integration Tests

adrian@jboss.org do-not-reply at jboss.com
Mon Oct 2 11:09:14 EDT 2006


The original task was to write a set of unit tests that can be reused.

Whether that is:
1) JBossMQ inside JBoss
2) JBoss Messaging inside JBoss
3) JBossMQ standalone
4) JBoss Messaging standalone
5) JBossMQ in EJB3 embeded
6) JBoss Messaging in EJB3 embedded
7) JBossMQ bootstrapped inside junit
8) JBoss Messaging bootstrapped inside junit
etc.

Which case applies depends upon which Admin you choose.

Using JBossTestCase and MBeans limits you to testing (1) and (2)
and there is a plan to move away MBean deployments anyway
since this doesn't work if you want to bootstrap JBoss Messaging
inside Tomcat or Weblogic, etc.

In short write to the Admin class as the integration point, not
JBossTestCase or -service.xml

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

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



More information about the jboss-dev-forums mailing list