jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chiu, Eric T" <Eric.C...@CIBC.ca>
Subject RE: testing EJBs?
Date Mon, 03 Feb 2003 16:03:34 GMT
I noticed Mike Davis has created a EJB Test Redirector,

This is also listed as a To-do on the Cactus website:
"Add EJB Redirectors so that unit testing of code that 
require an EJB is facilitated. For example, let's imagine 
you need to test that an object that has been put in 
the JNDI tree by a servlet can be retrieved by an EJB. 
These are not unit tests per see but rather integration 
tests, which is Cactus favorite domain. Also these 
redirectors could be used to directly unit tests EJB 
whithout requiring a servlet environment (at the current 
time, you need to call your EJB from a Servlet/JSP/Filter 
Redirector, which is fine for certain tests but not needed 
for others."

What's the status on this feature? 
-----Original Message-----
From: Chiu, Eric T [mailto:Eric.Chiu@CIBC.ca]
Sent: Monday, February 03, 2003 10:36 AM
To: 'cactus-user@jakarta.apache.org'
Subject: testing EJBs?

On the Cactus website, it states that a short term goal 
of Cactus is:
"Provide a comprehensive and easy to use unit testing framework 
for testing EJB code. Note that unit testing of EJB methods that 
do not use any of the container's services is already possible. 
The next step is to be able to unit test the methods that calls 
some container's services (like JNDI, Security, Transactions, ...)." 
However, I didn't see any unit tests for EJBs in the Cactus distribution. 
Are EJB tests still in the design phase, and how long would it be for 
a test suite is released? 

Eric Chiu

To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message