Hi Cristiano,
I spent some time on the topic about a year ago. You can have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=353304 .
I guess the patch is outdated already, buy I guess it may still be useful to have a look at it and at the description.
I hope this helps.
Regards,
Krum
From: gemini-dev-bounces@xxxxxxxxxxx [mailto:gemini-dev-bounces@xxxxxxxxxxx] On Behalf Of Cristiano Gavião
Sent: Dienstag, 26. Juni 2012 00:47
To: michael keith
Cc: Gemini and sub-projects developer discussions
Subject: Re: [gemini-dev] [JPA] Unit tests run
Hi Mike,
Humm, now I understood.
I was trying to run them using the Junit Plug-in Test. That is why I couldn't run it initially.
Well, to make those test run in a headless mode by tycho surefire, I will need to make them run in Junit Plug-in first.
I will try to make it work in my next free time at weekend.
cheers,
Cristiano
On 22/06/12 17:45, michael keith wrote:
Hi Cristiano,
Sorry, I think I forgot to respond to you about this.
I have a workspace that I use to run the tests. In the workspace I have the following:
Target platform that looks like:

The following projects loaded into the workspace:

A Run Configuration includes all of the bundles except the gemini.dbaccess ones and o.e.g.j.samples.
The arguments tab looks like:

To run specific tests, I just [un]comment lines in o.e.g.j.test.state.TestState.
If you have any questions, or if something doesn't work let me know.
-Mike
On 16/06/2012 7:53 AM, Cristiano Gavião wrote:
Mike,
Could you please explain me how are you running the JPA unit tests at iDE?
I need to create one to evaluate the CM configuration feature that I'm working on. Perhaps I could find a way to run them in the tycho building, too.
cheers,
Cristiano