Re: [jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-05-22 Thread Gokhan Ergul

Marc Prud'hommeaux wrote:

Gokhan-

On a related note, does the build process support/plan to support 
TestNG tests or should I stick to junit?


I looked into this a little while back: Maven supposedly supports both 
TestNG and JUnit used together in tandem, but I was never able to get 
it working at all. The bugs I found appear to have been reported and 
marked for the next release of the surefire plugin, but I haven't 
tested with more recent releases to see if they really do work.


In short: you should probably stick with junit for the time being for 
OpenJPA tests.




Fair enough, thanks Marc.

Gokhan.


Re: [jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-05-22 Thread Marc Prud'hommeaux

Gokhan-

On a related note, does the build process support/plan to support  
TestNG tests or should I stick to junit?


I looked into this a little while back: Maven supposedly supports  
both TestNG and JUnit used together in tandem, but I was never able  
to get it working at all. The bugs I found appear to have been  
reported and marked for the next release of the surefire plugin, but  
I haven't tested with more recent releases to see if they really do  
work.


In short: you should probably stick with junit for the time being for  
OpenJPA tests.




On May 22, 2007, at 5:03 PM, Gokhan Ergul wrote:


Patrick Linskey wrote:

Gokhan, I am interested in the test cases that this broke so if
you have time please email me.


+1 -- if you've got any test cases that we could incorporate into the
OpenJPA build environment, it'd be great to get them integrated.
Existing test cases are part of an application test suite which  
requires a whole set of domain objects and a fairly complex schema  
--not suitable for OpenJPA build environment. I'll try to strip off  
representative and standalone test cases out of them and will post  
when ready.


On a related note, does the build process support/plan to support  
TestNG tests or should I stick to junit?


Gokhan.




Re: [jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-05-22 Thread Gokhan Ergul

Patrick Linskey wrote:

Gokhan, I am interested in the test cases that this broke so if
you have time please email me.


+1 -- if you've got any test cases that we could incorporate into the
OpenJPA build environment, it'd be great to get them integrated.
Existing test cases are part of an application test suite which requires 
a whole set of domain objects and a fairly complex schema --not suitable 
for OpenJPA build environment. I'll try to strip off representative and 
standalone test cases out of them and will post when ready.


On a related note, does the build process support/plan to support TestNG 
tests or should I stick to junit?


Gokhan.


Re: [jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-05-22 Thread Patrick Linskey

Gokhan, I am interested in the test cases that this broke so if
you have time please email me.


+1 -- if you've got any test cases that we could incorporate into the
OpenJPA build environment, it'd be great to get them integrated.


I apologize for any inconvenience this has caused but I was
not aware of additional test cases that I needed to run.


No worries. The TCK is a bit tricky since only people who have signed
an NDA are allowed access to it.

-Patrick

--
Patrick Linskey
202 669 5907