JUnit - GeminiJPARunner [message #908390] |
Wed, 05 September 2012 09:52 |
|
Hi,
yesterday evening i was writting a JUnitRunner for gemini JPA.
@RunWith(GeminiJPARunner.class)
@PersistenceUnits({ "org.lunifera.demo.persistence" })
public class ActivatorTest {
The testclass can be annotated with required persistence units. And the testrunner will wait, until the pus are available before running the test.
But it does not solve the "restart bundle" problem. Start orders have to be set too...
If it might be interesting for the project, i would contribute it to you.
Just give me a hint and i will attach it to a bug.
Best,
Florian
|
|
|
|
Re: JUnit - GeminiJPARunner [message #908511 is a reply to message #908492] |
Wed, 05 September 2012 13:57 |
|
Hi Mike,
i already had a look at it yesterday... But now i know why i should have
been using your approach. ;-)
Well, i will change my testrunner to meet your solution and add
annotation stuff to it. Put the solution to a bug as contribution.
Best,
Florian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04462 seconds