I'd like to move the test framework code.

View: New views
11 Messages — Rating Filter:   Alert me  

I'd like to move the test framework code.

by Eric Gwin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am currently working on the testing builds, with two goals:
 - bring them up to the agreed standards of the product builds, and
 - allow them to run without recompiling the EclipseLink product jar(s).

During this effort, it has become apparent, that with a little more work
things could be made much easier for testing - both for our team, and
for users of EclipseLink. One of the things that would make testing
easier is to separate tests from the testing infrastructure. This would
allow the infrastructure to be built once and depended upon by the
tests, rather than having the test projects rely on a spaghetti plate of
inter-dependencies.

The change for development should simply mean another project in eclipse
that needs to be added once before tests will compile.

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
track discussion about this issue. Please comment. I want to find out if
there is any pressing reason or strong opinions not to do this.

Thanks.

-Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by Blaise Doughan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eric,

The OXM, JAXB, and SDO tests are dependent on the JUnit test framework
and not the Core (ORM) test framework.  Does this mean that this work
you are proposing will not affect the OXM, JAXB, and SDO tests?

-Blaise

Eric Gwin wrote:

> Hi,
>
> I am currently working on the testing builds, with two goals:
> - bring them up to the agreed standards of the product builds, and
> - allow them to run without recompiling the EclipseLink product jar(s).
>
> During this effort, it has become apparent, that with a little more
> work things could be made much easier for testing - both for our team,
> and for users of EclipseLink. One of the things that would make
> testing easier is to separate tests from the testing infrastructure.
> This would allow the infrastructure to be built once and depended upon
> by the tests, rather than having the test projects rely on a spaghetti
> plate of inter-dependencies.
>
> The change for development should simply mean another project in
> eclipse that needs to be added once before tests will compile.
>
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
> track discussion about this issue. Please comment. I want to find out
> if there is any pressing reason or strong opinions not to do this.
>
> Thanks.
>
> -Eric
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

RE: I'd like to move the test framework code.

by Edwin Tang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am interested in the road map of achieving the 2nd goal:
- allow them to run without recompiling the EclipseLink product jar(s).

-Edwin

-----Original Message-----
From: Eric Gwin
Sent: November 10, 2009 8:29 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: [eclipselink-dev] I'd like to move the test framework code.


Hi,

I am currently working on the testing builds, with two goals:
 - bring them up to the agreed standards of the product builds, and
 - allow them to run without recompiling the EclipseLink product jar(s).

During this effort, it has become apparent, that with a little more work
things could be made much easier for testing - both for our team, and
for users of EclipseLink. One of the things that would make testing
easier is to separate tests from the testing infrastructure. This would
allow the infrastructure to be built once and depended upon by the
tests, rather than having the test projects rely on a spaghetti plate of
inter-dependencies.

The change for development should simply mean another project in eclipse
that needs to be added once before tests will compile.

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
track discussion about this issue. Please comment. I want to find out if
there is any pressing reason or strong opinions not to do this.

Thanks.

-Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by Andrei Ilitchev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Would it still be possible to run TestingBrowser in Eclipse without ant
building (other than the one required now - building resources in
foundation\eclipselink.core.test\run)?
----- Original Message -----
From: "Eric Gwin" <eric.gwin@...>
To: "Dev mailing list for Eclipse Persistence Services"
<eclipselink-dev@...>
Sent: Tuesday, November 10, 2009 8:29 AM
Subject: [eclipselink-dev] I'd like to move the test framework code.


> Hi,
>
> I am currently working on the testing builds, with two goals:
> - bring them up to the agreed standards of the product builds, and
> - allow them to run without recompiling the EclipseLink product jar(s).
>
> During this effort, it has become apparent, that with a little more work
> things could be made much easier for testing - both for our team, and for
> users of EclipseLink. One of the things that would make testing easier is
> to separate tests from the testing infrastructure. This would allow the
> infrastructure to be built once and depended upon by the tests, rather
> than having the test projects rely on a spaghetti plate of
> inter-dependencies.
>
> The change for development should simply mean another project in eclipse
> that needs to be added once before tests will compile.
>
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to track
> discussion about this issue. Please comment. I want to find out if there
> is any pressing reason or strong opinions not to do this.
>
> Thanks.
>
> -Eric
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by Eric Gwin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can we make sure to capture this discussion in the bug?

Blaise: If you mean that OXM, JAXB, and SDO only need the junit.jar to
run, then yes, they'd be unaffected. I qualify this because jpa.test
includes a framework class called JUnitTestCase.

-Eric

Blaise Doughan wrote:

> Hi Eric,
>
> The OXM, JAXB, and SDO tests are dependent on the JUnit test framework
> and not the Core (ORM) test framework.  Does this mean that this work
> you are proposing will not affect the OXM, JAXB, and SDO tests?
>
> -Blaise
>
> Eric Gwin wrote:
>> Hi,
>>
>> I am currently working on the testing builds, with two goals:
>> - bring them up to the agreed standards of the product builds, and
>> - allow them to run without recompiling the EclipseLink product jar(s).
>>
>> During this effort, it has become apparent, that with a little more
>> work things could be made much easier for testing - both for our
>> team, and for users of EclipseLink. One of the things that would make
>> testing easier is to separate tests from the testing infrastructure.
>> This would allow the infrastructure to be built once and depended
>> upon by the tests, rather than having the test projects rely on a
>> spaghetti plate of inter-dependencies.
>>
>> The change for development should simply mean another project in
>> eclipse that needs to be added once before tests will compile.
>>
>> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
>> track discussion about this issue. Please comment. I want to find out
>> if there is any pressing reason or strong opinions not to do this.
>>
>> Thanks.
>>
>> -Eric
>> _______________________________________________
>> eclipselink-dev mailing list
>> eclipselink-dev@...
>> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by Eric Gwin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This work is independent of the 2nd goal (Step 1 of which is actively
under development).

However, I'll take a stab at a rough outline. QA needs to participate in
the process to flush out all the requirements
Step1: test builds need to be able to detect what to test against (jar,
bundles, or classes; for nightly testing, OSGi testing, and dev testing
respectively). It is currently setup such that if the product jar is
found it is used, if not the bundles are searched for, if that still
fails the class files are used, or the build fails (core and oracle
currently work this way; updating others as they are converted). I'd
like to do JPA next, but it is huge, often modified, and the least stable.
Step2: mechanisms need to be put into place to retrieve the product for
testing. I'm thinking since we already have the maven infrastructure in
place that would be a good place to start, though I'm not familiar with
all the requirements from the QA side. The end solution would need to
work (or be workable) for all scenarios.

-Eric

Edwin Tang wrote:

> I am interested in the road map of achieving the 2nd goal:
> - allow them to run without recompiling the EclipseLink product jar(s).
>
> -Edwin
>
> -----Original Message-----
> From: Eric Gwin
> Sent: November 10, 2009 8:29 AM
> To: Dev mailing list for Eclipse Persistence Services
> Subject: [eclipselink-dev] I'd like to move the test framework code.
>
>
> Hi,
>
> I am currently working on the testing builds, with two goals:
>  - bring them up to the agreed standards of the product builds, and
>  - allow them to run without recompiling the EclipseLink product jar(s).
>
> During this effort, it has become apparent, that with a little more work
> things could be made much easier for testing - both for our team, and
> for users of EclipseLink. One of the things that would make testing
> easier is to separate tests from the testing infrastructure. This would
> allow the infrastructure to be built once and depended upon by the
> tests, rather than having the test projects rely on a spaghetti plate of
> inter-dependencies.
>
> The change for development should simply mean another project in eclipse
> that needs to be added once before tests will compile.
>
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
> track discussion about this issue. Please comment. I want to find out if
> there is any pressing reason or strong opinions not to do this.
>
> Thanks.
>
> -Eric
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>
>  
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by Eric Gwin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't see why not. It'd just be another project in the workspace. No
need to even build the jar in that case.

-Eric

Andrei Ilitchev wrote:

> Would it still be possible to run TestingBrowser in Eclipse without
> ant building (other than the one required now - building resources in
> foundation\eclipselink.core.test\run)?
> ----- Original Message ----- From: "Eric Gwin" <eric.gwin@...>
> To: "Dev mailing list for Eclipse Persistence Services"
> <eclipselink-dev@...>
> Sent: Tuesday, November 10, 2009 8:29 AM
> Subject: [eclipselink-dev] I'd like to move the test framework code.
>
>
>> Hi,
>>
>> I am currently working on the testing builds, with two goals:
>> - bring them up to the agreed standards of the product builds, and
>> - allow them to run without recompiling the EclipseLink product jar(s).
>>
>> During this effort, it has become apparent, that with a little more
>> work things could be made much easier for testing - both for our
>> team, and for users of EclipseLink. One of the things that would make
>> testing easier is to separate tests from the testing infrastructure.
>> This would allow the infrastructure to be built once and depended
>> upon by the tests, rather than having the test projects rely on a
>> spaghetti plate of inter-dependencies.
>>
>> The change for development should simply mean another project in
>> eclipse that needs to be added once before tests will compile.
>>
>> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
>> track discussion about this issue. Please comment. I want to find out
>> if there is any pressing reason or strong opinions not to do this.
>>
>> Thanks.
>>
>> -Eric
>> _______________________________________________
>> eclipselink-dev mailing list
>> eclipselink-dev@...
>> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>>
>
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by Blaise Doughan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Edwin,

OXM, JAXB, and SDO tests all have ant targets to run the tests against the eclipselink.jar.  This seems to be all you are looking for, for these specific components?

-Blaise

Edwin Tang wrote:
The requirement from the QA side is quite simple, i.e., being able to easily access the EclipseLink product jars built by the nightly build, and run all the tests without rebuilding the product jars.

To be more specific, the senerio is like:
* Revision (a) is the SVN revision which the nightly build is based on
* Revsion (b) is the SVN revision created by check-in(e.g., eclipselink.jar and so on) in the nightly build
* SVN update to revision (b), or plus minimum extra step(s), the EclipseLink product jars built by the nightly build are expected in their places for testing

Since the nightly build happens in the midnight, mostly (b)=(a)+1, in rare cases, there are revisions(check-ins) between (a) and (b), that could protentially cause mismatch of runtime and test when testing on revision (b).

Thanks,
Edwin

-----Original Message-----
From: Eric Gwin 
Sent: November 10, 2009 3:00 PM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] I'd like to move the test framework code.


This work is independent of the 2nd goal (Step 1 of which is actively 
under development).

However, I'll take a stab at a rough outline. QA needs to participate in 
the process to flush out all the requirements
Step1: test builds need to be able to detect what to test against (jar, 
bundles, or classes; for nightly testing, OSGi testing, and dev testing 
respectively). It is currently setup such that if the product jar is 
found it is used, if not the bundles are searched for, if that still 
fails the class files are used, or the build fails (core and oracle 
currently work this way; updating others as they are converted). I'd 
like to do JPA next, but it is huge, often modified, and the least stable.
Step2: mechanisms need to be put into place to retrieve the product for 
testing. I'm thinking since we already have the maven infrastructure in 
place that would be a good place to start, though I'm not familiar with 
all the requirements from the QA side. The end solution would need to 
work (or be workable) for all scenarios.

-Eric

Edwin Tang wrote:
  
I am interested in the road map of achieving the 2nd goal:
- allow them to run without recompiling the EclipseLink product jar(s).

-Edwin

-----Original Message-----
From: Eric Gwin 
Sent: November 10, 2009 8:29 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: [eclipselink-dev] I'd like to move the test framework code.


Hi,

I am currently working on the testing builds, with two goals:
 - bring them up to the agreed standards of the product builds, and
 - allow them to run without recompiling the EclipseLink product jar(s).

During this effort, it has become apparent, that with a little more work 
things could be made much easier for testing - both for our team, and 
for users of EclipseLink. One of the things that would make testing 
easier is to separate tests from the testing infrastructure. This would 
allow the infrastructure to be built once and depended upon by the 
tests, rather than having the test projects rely on a spaghetti plate of 
inter-dependencies.

The change for development should simply mean another project in eclipse 
that needs to be added once before tests will compile.

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to 
track discussion about this issue. Please comment. I want to find out if 
there is any pressing reason or strong opinions not to do this.

Thanks.

-Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

  
    
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
  

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

RE: I'd like to move the test framework code.

by Edwin Tang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The requirement from the QA side is quite simple, i.e., being able to easily access the EclipseLink product jars built by the nightly build, and run all the tests without rebuilding the product jars.

To be more specific, the senerio is like:
* Revision (a) is the SVN revision which the nightly build is based on
* Revsion (b) is the SVN revision created by check-in(e.g., eclipselink.jar and so on) in the nightly build
* SVN update to revision (b), or plus minimum extra step(s), the EclipseLink product jars built by the nightly build are expected in their places for testing

Since the nightly build happens in the midnight, mostly (b)=(a)+1, in rare cases, there are revisions(check-ins) between (a) and (b), that could protentially cause mismatch of runtime and test when testing on revision (b).

Thanks,
Edwin

-----Original Message-----
From: Eric Gwin
Sent: November 10, 2009 3:00 PM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] I'd like to move the test framework code.


This work is independent of the 2nd goal (Step 1 of which is actively
under development).

However, I'll take a stab at a rough outline. QA needs to participate in
the process to flush out all the requirements
Step1: test builds need to be able to detect what to test against (jar,
bundles, or classes; for nightly testing, OSGi testing, and dev testing
respectively). It is currently setup such that if the product jar is
found it is used, if not the bundles are searched for, if that still
fails the class files are used, or the build fails (core and oracle
currently work this way; updating others as they are converted). I'd
like to do JPA next, but it is huge, often modified, and the least stable.
Step2: mechanisms need to be put into place to retrieve the product for
testing. I'm thinking since we already have the maven infrastructure in
place that would be a good place to start, though I'm not familiar with
all the requirements from the QA side. The end solution would need to
work (or be workable) for all scenarios.

-Eric

Edwin Tang wrote:

> I am interested in the road map of achieving the 2nd goal:
> - allow them to run without recompiling the EclipseLink product jar(s).
>
> -Edwin
>
> -----Original Message-----
> From: Eric Gwin
> Sent: November 10, 2009 8:29 AM
> To: Dev mailing list for Eclipse Persistence Services
> Subject: [eclipselink-dev] I'd like to move the test framework code.
>
>
> Hi,
>
> I am currently working on the testing builds, with two goals:
>  - bring them up to the agreed standards of the product builds, and
>  - allow them to run without recompiling the EclipseLink product jar(s).
>
> During this effort, it has become apparent, that with a little more work
> things could be made much easier for testing - both for our team, and
> for users of EclipseLink. One of the things that would make testing
> easier is to separate tests from the testing infrastructure. This would
> allow the infrastructure to be built once and depended upon by the
> tests, rather than having the test projects rely on a spaghetti plate of
> inter-dependencies.
>
> The change for development should simply mean another project in eclipse
> that needs to be added once before tests will compile.
>
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to
> track discussion about this issue. Please comment. I want to find out if
> there is any pressing reason or strong opinions not to do this.
>
> Thanks.
>
> -Eric
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
> _______________________________________________
> eclipselink-dev mailing list
> eclipselink-dev@...
> https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
>
>  
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: I'd like to move the test framework code.

by David McCann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's correct - unless the scripts have changed, when the OXM, JAXB, and SDO tests are run from trunk the targets to run the tests against the eclipselink.jar are called.

--Dave

Blaise Doughan wrote:
Hi Edwin,

OXM, JAXB, and SDO tests all have ant targets to run the tests against the eclipselink.jar.  This seems to be all you are looking for, for these specific components?

-Blaise

Edwin Tang wrote:
The requirement from the QA side is quite simple, i.e., being able to easily access the EclipseLink product jars built by the nightly build, and run all the tests without rebuilding the product jars.

To be more specific, the senerio is like:
* Revision (a) is the SVN revision which the nightly build is based on
* Revsion (b) is the SVN revision created by check-in(e.g., eclipselink.jar and so on) in the nightly build
* SVN update to revision (b), or plus minimum extra step(s), the EclipseLink product jars built by the nightly build are expected in their places for testing

Since the nightly build happens in the midnight, mostly (b)=(a)+1, in rare cases, there are revisions(check-ins) between (a) and (b), that could protentially cause mismatch of runtime and test when testing on revision (b).

Thanks,
Edwin

-----Original Message-----
From: Eric Gwin 
Sent: November 10, 2009 3:00 PM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] I'd like to move the test framework code.


This work is independent of the 2nd goal (Step 1 of which is actively 
under development).

However, I'll take a stab at a rough outline. QA needs to participate in 
the process to flush out all the requirements
Step1: test builds need to be able to detect what to test against (jar, 
bundles, or classes; for nightly testing, OSGi testing, and dev testing 
respectively). It is currently setup such that if the product jar is 
found it is used, if not the bundles are searched for, if that still 
fails the class files are used, or the build fails (core and oracle 
currently work this way; updating others as they are converted). I'd 
like to do JPA next, but it is huge, often modified, and the least stable.
Step2: mechanisms need to be put into place to retrieve the product for 
testing. I'm thinking since we already have the maven infrastructure in 
place that would be a good place to start, though I'm not familiar with 
all the requirements from the QA side. The end solution would need to 
work (or be workable) for all scenarios.

-Eric

Edwin Tang wrote:
  
I am interested in the road map of achieving the 2nd goal:
- allow them to run without recompiling the EclipseLink product jar(s).

-Edwin

-----Original Message-----
From: Eric Gwin 
Sent: November 10, 2009 8:29 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: [eclipselink-dev] I'd like to move the test framework code.


Hi,

I am currently working on the testing builds, with two goals:
 - bring them up to the agreed standards of the product builds, and
 - allow them to run without recompiling the EclipseLink product jar(s).

During this effort, it has become apparent, that with a little more work 
things could be made much easier for testing - both for our team, and 
for users of EclipseLink. One of the things that would make testing 
easier is to separate tests from the testing infrastructure. This would 
allow the infrastructure to be built once and depended upon by the 
tests, rather than having the test projects rely on a spaghetti plate of 
inter-dependencies.

The change for development should simply mean another project in eclipse 
that needs to be added once before tests will compile.

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to 
track discussion about this issue. Please comment. I want to find out if 
there is any pressing reason or strong opinions not to do this.

Thanks.

-Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

  
    
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
  

_______________________________________________ eclipselink-dev mailing list eclipselink-dev@... https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

--
Oracle
David McCann | Principal Software Engineer | +6132884636
Oracle Server Technologies, EclipseLink Product
ORACLE Canada | 45 O'Connor St., Suite 400 | Ottawa, Ontario | K1P 1A4
Green Oracle Oracle is committed to developing practices and products that help protect the environment



_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

RE: I'd like to move the test framework code.

by Edwin Tang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Blaise,
 
Other than eclipselink.jar, I am expecting the following product jars in their places:
1. trunk/plugins/eclipselink-jpa-modelgen_2.0.0.<qualifier>.jar for JPA tests
2. OSGi plugins for OSGi tests
org.eclipse.persistence.asm_2.0.0.<qualifier>.jar
org.eclipse.persistence.core_2.0.0.<qualifier>.jar
org.eclipse.persistence.dbws_2.0.0.<qualifier>.jar
org.eclipse.persistence.jpa_2.0.0.<qualifier>.jar
org.eclipse.persistence.moxy_2.0.0.<qualifier>.jar
org.eclipse.persistence.oracle_2.0.0.<qualifier>.jar
org.eclipse.persistence.sdo_2.0.0.<qualifier>.jar
org.eclipse.persistence.antlr_2.0.0.<qualifier>.jar
3. trunk/utils/eclipselink.utils.dbws/eclipselink-dbwsutils.jar for DBWS util tests
Actually, the requirement is tracked by https://bugs.eclipse.org/bugs/show_bug.cgi?id=294206
It would be ideal, all EclipseLink product jars we ship to customers can be in their places in trunk directory structure for testing. 
Thanks,
Edwin
-----Original Message-----
From: Blaise Doughan
Sent: November 11, 2009 11:23 AM
To: Dev mailing list fo! r Eclipse Persistence Services
Cc: Huyen Nguyen; Yan Lu
Subject: Re: [eclipselink-dev] I'd like to move the test framework code.

Hi Edwin,

OXM, JAXB, and SDO tests all have ant targets to run the tests against the eclipselink.jar.  This seems to be all you are looking for, for these specific components?

-Blaise

Edwin Tang wrote:
The requirement from the QA side is quite simple, i.e., being able to easily access the EclipseLink product jars built by the nightly build, and run all the tests without rebuilding the product jars.

To be more specific, the senerio is like:
* Revision (a) is the SVN revision which the nightly build is based on
* Revsion (b) is the SVN revision created by check-in(e.g., eclipselink.jar and so on) in the nightly build
* SVN update to revision (b), or plus minimum extra step(s), the EclipseLink product jars built by the nightly build are expected in their places for testing

Since the nightly build happens in the midnight, mostly (b)=(a)+1, in rare cases, there are revisions(check-ins) between (a) and (b), that could protentially cause mismatch of runtime and test when testing on revision (b).

Thanks,
Edwin

-----Original Message-----
From: Eric Gwin 
Sent: November 10, 2009 3:00 PM
To: Dev mailing list for Eclipse Persistence Services
Subject: Re: [eclipselink-dev] I'd like to move the test framework code.


This work is independent of the 2nd goal (Step 1 of which is actively 
under development).

However, I'll take a stab at a rough outline. QA needs to participate in 
the process to flush out all the requirements
Step1: test builds need to be able to detect what to test against (jar, 
bundles, or classes; for nightly testing, OSGi testing, and dev testing 
respectively). It is currently setup such that if the product jar is 
found it is used, if not the bundles are searched for, if that still 
fails the class files are used, or the build fails (core and oracle 
currently work this way; updating others as they are converted). I'd 
like to do JPA next, but it is huge, often modified, and the least stable.
Step2: mechanisms need to be put into place to retrieve the product for 
testing. I'm thinking since we already have the maven infrastructure in 
place that would be a good place to start, though I'm not familiar with 
all the requirements from the QA side. The end solution would need to 
work (or be workable) for all scenarios.

-Eric

Edwin Tang wrote:
  
I am interested in the road map of achieving the 2nd goal:
- allow them to run without recompiling the EclipseLink product jar(s).

-Edwin

-----Original Message-----
From: Eric Gwin 
Sent: November 10, 2009 8:29 AM
To: Dev mailing list for Eclipse Persistence Services
Subject: [eclipselink-dev] I'd like to move the test framework code.


Hi,

I am currently working on the testing builds, with two goals:
 - bring them up to the agreed standards of the product builds, and
 - allow them to run without recompiling the EclipseLink product jar(s).

During this effort, it has become apparent, that with a little more work 
things could be made much easier for testing - both for our team, and 
for users of EclipseLink. One of the things that would make testing 
easier is to separate tests from the testing infrastructure. This would 
allow the infrastructure to be built once and depended upon by the 
tests, rather than having the test projects rely on a spaghetti plate of 
inter-dependencies.

The change for development should simply mean another project in eclipse 
that needs to be added once before tests will compile.

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=294732 to 
track discussion about this issue. Please comment. I want to find out if 
there is any pressing reason or strong opinions not to do this.

Thanks.

-Eric
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

  
    
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
  

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev