It would be convienent if seam provides something like EntityTest. Had a look 
at http://blog.hibernate.org/cgi-bin/blosxom.cgi/2005/11/24#ejb3withtestng. 

To test entites is not easy as what I thought. I have to get those xmls and 
re-config them, write code for starting up embeded container, use those ant 
script, jndi.... 2 hours gone, still can't get it working. One thing I noticed 
is it tests entiteis using DAO pattern , which I don't have.

What I need is simply having an EntityManager in a SeamTest and I guess it's a 
common requirement.  Why do I need to get into a new world and config 
everything again?

It would make sense if Seam can cover this kind of tests. 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to