Re: How to test an ejb package with Maven and TestNG?

2006-06-28 Thread Tim Kettler
Hi, see comment inline... Naresh Bhatia schrieb: I have a maven project with packaging set to ejb. I would like to test this project outside an ejb container by simply calling POJO classes inside it. I have written a very simple test using TestNG: public class UserServiceTest {

RE: How to test an ejb package with Maven and TestNG?

2006-06-28 Thread Naresh Bhatia
Thanks Tim. I had niether created a testng.xml nor the surefire config :-). As soon as I did these, everything started working. Thanks so much for your help. Naresh -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 4:09 AM To: Maven Users

How to test an ejb package with Maven and TestNG?

2006-06-27 Thread Naresh Bhatia
I have a maven project with packaging set to ejb. I would like to test this project outside an ejb container by simply calling POJO classes inside it. I have written a very simple test using TestNG: public class UserServiceTest { @Test public void testGetAllUsers() { ...