Many ways: 1) Skip tests completely ;-) - add parameter '-Dmaven.test.skip=true' to 'mvn' 2) Skip one test case - return true from this unit test 3) Maybe here is some misunderstanding but you have to have at least one concrete implementation of class on entity tier (also hibernate can create only non abstract instances). Than you should write test with this real class (maybe more different real classes).
Regards Pavel On Wed, Jul 29, 2009 at 10:49 AM, Sascha Broich - TSA<sascha.bro...@tsa.de> wrote: > Hi, > > I have my service which accesses an abstract entity's repository. > Sculptor generates the test file for it. But now I'm wondering how I > implement these test cases. > My problem comes from the fact, that instantiable subclasses of the abstract > entity will be created in other artifacts. > Has someone already done such a case? > > > Regards, > Sascha Broich > -- > TSA - Teleport Sachsen-Anhalt Service GmbH Delitzscher Straße 70, 06112 Halle > Phone: +49 39203 8 2524 > Email: sascha.bro...@tsa.de > > Firmensitz: Steinfeldstraße 5, D-39179 Barleben > Geschäftsführer: Marco Langhof > Amtsgericht: Stendal HRB 6388 > http://www.tsa.de > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer