persistence@glassfish.java.net

Re: Entity test harness

From: Petr Blaha <Petr.Blaha_at_Sun.COM>
Date: Mon, 30 Jan 2006 13:54:43 +0100

Thanks,
I will look on that.

Petr

Michael Bouschen wrote:
> Hi Petr,
>
> I haven't looked at the test harness from the Oracle preview. But there
> is a test module in glassfish called entity-persistence-tests. I usually
> run these tests outside of the container. In case you are interested:
> checkout the entity-persistence-tests module and have a look at the
> readme.txt file.
>
> Regards Michael
>
>> Hi all,
>> I have seen Oracle created Entity test harness in used in Oracle
>> server preview. This tool is very useful for testing EJB 3.0 out of
>> container
>> (http://www.oracle.com/technology/pub/articles/debu_testability_of_ejb.html)
>>
>>
>> For running JUnit test you should add ectest.jar on classpath. I used
>> this jar from Oracle's container but it's depend on old verson of EJB
>> 3.0 API.
>>
>> Since Glassfish includes Toplink, I would like to ask whether is there
>> some plan to add this test harness in Glassfish as well?
>>
>> Thanks,
>> Petr