[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-12-28 Thread xshuang
Good afternoon gemel, Could you post your complete code segment? I followed your example to manually create an EntityManagerFactory , but got the following error: No Persistence provider for EntityManager named XXX Thanks, Sheng View the original post :

[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-08-13 Thread EagleEye
chuckadams wrote : You can't depend on the EJB3 container being initialized in a @BeforeClass/beforeTestClass method, because it does in fact run before the embedded container is started by SeamTest.init(). | Yep got the same problem. But with your idea you will get the same problem. It's

[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-08-13 Thread [EMAIL PROTECTED]
CVS uses Testng 5.6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073531#4073531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073531 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-02-07 Thread gemel
I had this failure too and I could solve it I hope I can help you. Dou you have a datasource defined in your persistence.xml file like this? jta-data-sourcejava:/SeamRcAdfDatasource/jta-data-source if yes -- Try this 1- Take the jta-data-source definition away from the persistence.xml file 2-

[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2006-09-04 Thread chuckadams
You can't depend on the EJB3 container being initialized in a @BeforeClass/beforeTestClass method, because it does in fact run before the embedded container is started by SeamTest.init(). I believe TestNG will run tests in the order they're specified in the testng.xml file, so you could