[jboss-dev] MDB integration tests

Tim Fox tim.fox at jboss.com
Sat Jan 13 13:48:55 EST 2007


The coverage still seems very poor w.r.t. integration tests, unless I'm 
missing something.

 From the point of view of JBM (and JBossMQ) we need to know all the 
main use cases are tests with the JMSContainerInvoker, and also using 
JCA1.5 inflow now this is apparently supported in production.

Without proper coverage we can't have any confidence that JBM (or 
JBossMQ) will work correctly with the app server.

I've added a task to get these tests sorted before we release JBM 1.2.

Scott M Stark wrote:
> They are spread out. Other mdb tests are:
> 
> testsuite module:
> org.jboss.test.cts.test.MDBUnitTestCase
> org.jboss.test.jca.test.InflowUnitTestCase
> 
> ejb3 module:
> org.jboss.ejb3.test.mdb
> org.jboss.ejb3.test.mdbtopic
> org.jboss.ejb3.test.mdbtransactions
> 
> Tim Fox wrote:
>> I'm trying to locate the MDB integration tests.
>>
>> I have found a few in jboss-head/testsuite/src/main/org/jboss/test/mdb
>> which test using the old JMSContainerInvoker.
>>
>> Although I am not sure whether they are worthy of being called
>> integration tests since test coverage is shockingly poor. Note the comment:
>>
>> /**
>>  * Some simple tests of MDB. These could be much more elaborated.
>>  *
>>  * In the future at least the following tests should be done some how:
>>  * <ol>
>>  *   <li>Queue
>>  *   <li>Topic
>>  *   <li>Durable topic
>>  *   <li>Bean TX - with AUTO_ACK and DUPS_OK
>>  *   <li>CMT Required
>>  *   <li>CMT NotSupported
>>  *   <li>Selector
>>  *   <li>User and password login
>>  *   <li>Al the stuff with the context
>>  * </ol>
>>
>> I am also trying to find the equivalent tests which test using JCA1.5
>> message inflow, but I can't find any.
>>
>> I guess they must be somewhere.
>>
>> Can someone point me in the right direction?
>>
>>
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
> 

-- 
Tim Fox
JBoss Messaging Technical Lead
JBoss - a division of Red Hat
T: +44 2088006768
M: +44 7957983205
E: tim.fox at jboss.com tim.fox at redhat.com



More information about the jboss-development mailing list