Thanks for the suggestions on junitee and cactus. RE: junitee. I'm not certain I want to have the overhead of running simple tests in servlets. Also I believe this would require slightly more work (custom goal) since we use maven for builds.
Re: cactus. It seems reasonable, but more involved. I'll check into it later. Actually, this is my desired long term solution, I just need to get up to speed. Last, ServerTestCase seems the most appropriate for me for now. http://www.junit.org/news/extension/j2ee/index.htm I guess I'll just have to do minor tweaks for it to work under our container. I was basically wondering what happened to junitejb. It used to be around and it's definitely used by JBoss testing. Time for me to post there, I guess. Apologies for the slightly off-topic question, I had choice of posting it to jboss-user or here and thought that since it related directly to a ejbdoclet generated File (<SomeObject>Util.java) that it would fly here. I've seen a number of topics that touched on both lists... Thanks, chris -----Original Message----- From: Oisin Kim [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 5:29 AM To: [EMAIL PROTECTED] Subject: RE: [Xdoclet-user] JUnit test for <SomeObject>Util.getLocalHome() To bring things back on topic, If you use Junitee, make sure you add : @ejb.util generate="physical" To your class level tags, as the default is to use the JNDI-ENC which is not always available to the web tier, this tag will use the JNDI tag as per your class level tags. Otherwise you can't guarntee your util classes will work! Search the archives for a better explanation from Marcus Brito, thanks again Marcus. Oisin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 06 March 2003 07:16 To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] JUnit test for <SomeObject>Util.getLocalHome() Try http://www.junitee.org/ Michel "Chris Butler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent by: cc: [EMAIL PROTECTED] Subject: [Xdoclet-user] JUnit test for <SomeObject>Util.getLocalHome() ceforge.net 05/03/2003 17:54 Please respond to xdoclet-user Maybe I'm just daft here, but what's the easiest way to use Junit to do local Util Object testing? In particular I want to do something like: SomeObjectLocalHome lhome = SomeObjectUtil.getLocalHome(); Also I've noticed that junitejb.sourceforge.net seems to have disappeared? I thought that JBoss used junitejb for its testing. Anyone have some insight here? Thanx, Chris ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
