Maybe Junitdoclet is what you're looking for: http://www.junitdoclet.org/
HTH, Matt > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf > Of Erik Hatcher > Sent: Sunday, November 24, 2002 3:38 AM > To: SainTiss > Cc: XDoclet Mailing > Subject: Re: [Xdoclet-user] JUnit tests > > > We do not automatically generate test skeletons, so we're not talking > the same thing. I believe Eclipse has some plugins for automatically > generating JUnit skeletons, and I'm sure other IDE's also > have this feature. > > So, I cannot advise on the automating of test case creation. We test > through the "utility" object created (we call it a "proxy", using a > custom template hiding that we are dealing with a session bean > internally) - so we test more than just the one class we wrote. > > Erik > > > SainTiss wrote: > > Well, just some howto for example, explaining what to do exactly to > > create a JUnit "test skeleton" in an automatic way (if possible at > > all) > > > > If I get it correctly, if I create an EJB with xdoclet, I'd > only have > > to test 1 of all the resulting files, namely the one I > wrote myself... > > > > It's just that it's a bit vague to me how I can get > started, writing > > such a test (as automatically as possible)... > > > > Thanks > > > > Hans > > > > On Sun, 2002-11-24 at 02:42, Erik Hatcher wrote: > > > >>I don't quite understand the question. We're happily using JUnit > >>testing by calling our session beans through our "proxy" object (a > >>custom <utilobject> template) which uses the generated home/remote > >>interfaces. > >> > >>There is no difference in how our JUnit tests interface with the > >>generated code than how our production code interfaces with it. > >> > >>Can you clarify your question more or provide an example of what > >>you're > >>after? > >> > >> Erik > >> > >> > >>SainTiss wrote: > >> > >>>Hi, > >>> > >>>Is there an example somewhere of a JUnit test written with > the help > >>>of the JUnit ant task, on some XDoclet generated EJB code? > >>> > >>>Thanks > >>> > >>>Hans > >>> > >>> > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Xdoclet-user mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
