code source and test separation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

code source and test separation

Erwan de FERRIERES
Hi all,

for the GSoC, I've submitted an idea which is the  code source
separation from the tests.
https://issues.apache.org/jira/browse/OFBIZ-4211

What i'd like to see is a kind of separation, like we can have with the
default maven configuration, such as
src/main and src/test.

These would be useful when executing code analysis, and further, help
OFBiz to have a standard code base.

These thread is here to validate or not these proposal I made, and maybe
later having a student working on this issue.

I'm waiting for your pros/cons, to improve this idea.

Cheers,

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: code source and test separation

Adrian Crum-3
+1

The advantage to this approach is the test classes are kept out of the
deployment jars.

-Adrian

On 3/11/2011 4:00 AM, Erwan de FERRIERES wrote:

> Hi all,
>
> for the GSoC, I've submitted an idea which is the  code source
> separation from the tests.
> https://issues.apache.org/jira/browse/OFBIZ-4211
>
> What i'd like to see is a kind of separation, like we can have with
> the default maven configuration, such as
> src/main and src/test.
>
> These would be useful when executing code analysis, and further, help
> OFBiz to have a standard code base.
>
> These thread is here to validate or not these proposal I made, and
> maybe later having a student working on this issue.
>
> I'm waiting for your pros/cons, to improve this idea.
>
> Cheers,
>
Reply | Threaded
Open this post in threaded view
|

Re: code source and test separation

Jacques Le Roux
Administrator
Sounds good to me

Jacques

Adrian Crum wrote:

> +1
>
> The advantage to this approach is the test classes are kept out of the
> deployment jars.
>
> -Adrian
>
> On 3/11/2011 4:00 AM, Erwan de FERRIERES wrote:
>> Hi all,
>>
>> for the GSoC, I've submitted an idea which is the  code source
>> separation from the tests.
>> https://issues.apache.org/jira/browse/OFBIZ-4211
>>
>> What i'd like to see is a kind of separation, like we can have with
>> the default maven configuration, such as
>> src/main and src/test.
>>
>> These would be useful when executing code analysis, and further, help
>> OFBiz to have a standard code base.
>>
>> These thread is here to validate or not these proposal I made, and
>> maybe later having a student working on this issue.
>>
>> I'm waiting for your pros/cons, to improve this idea.
>>
>> Cheers,

Reply | Threaded
Open this post in threaded view
|

Re: code source and test separation

Rene Scheibe
In reply to this post by Adrian Crum-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

+1

There is alreay the business logic and test code jars, even without this
source folder separation. What's more interesting is, that the test jars
should only be loaded in test mode. (This requires slight changes in
Start.java)

Cheers,
René Scheibe

On 03/11/2011 03:01 PM, Adrian Crum wrote:

> +1
>
> The advantage to this approach is the test classes are kept out of the
> deployment jars.
>
> -Adrian
>
> On 3/11/2011 4:00 AM, Erwan de FERRIERES wrote:
>> Hi all,
>>
>> for the GSoC, I've submitted an idea which is the  code source
>> separation from the tests.
>> https://issues.apache.org/jira/browse/OFBIZ-4211
>>
>> What i'd like to see is a kind of separation, like we can have with
>> the default maven configuration, such as
>> src/main and src/test.
>>
>> These would be useful when executing code analysis, and further, help
>> OFBiz to have a standard code base.
>>
>> These thread is here to validate or not these proposal I made, and
>> maybe later having a student working on this issue.
>>
>> I'm waiting for your pros/cons, to improve this idea.
>>
>> Cheers,
>>


- --
René Scheibe * [hidden email] * +49-176-62192936
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk17UgsACgkQUXs9EHvIuCq6UACfbsAHoJDzZN9147YME/lykERp
UMUAn2QVFfZ4dNqdirqSL4v0Fen0B6v1
=Hyzf
-----END PGP SIGNATURE-----