felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Furfari <francesco.furf...@isti.cnr.it>
Subject Re: Repository/package structure
Date Thu, 01 Dec 2005 19:15:48 GMT
so in the repository we have
trunk/org/apache/felix/upnp/src[org.apache.felix.upnp.basedriver]
and
trunk/org/apache/felix/upnp/test[org.apache.felix.upnp.basedriverTest]
where [org.apache.felix.upnp.*] are the folders for packaging

is it right?
francesco

Richard S. Hall ha scritto:

> I am in agreement with Enrique on this one. I would not like to see 
> the test cases for each sub-project be a sub-project in the trunk/ 
> directory, because this will pollute the trunk/ directory by doubling 
> its contents. I think each sub-project should put its test cases 
> inside of its trunk/sub-project/ directory. The only tests that should 
> potentially be in the trunk/ directory are those that span multiple 
> sub-projects, I think.
>
> -> richard
>
> Enrique Rodriguez wrote:
>
>> Richard S. Hall wrote:
>>
>>> Francesco Furfari wrote:
>>>
>>>> It's ok for me, we have a similar structure.
>>>> What for the test cases? do we put all inside the subprojects? 
>>>> org.apache.felix.upnp.test?
>>>
>>>
>>> This seems to make more sense to me, as opposed to 
>>> org.apache.felix.test.upnp...but I can go either way.
>>
>>
>> I was picturing implementation code and testcases in the same 
>> subproject, but in separate source folders.  During packaging, the 
>> testcases are not included in the resulting jar/bundle.
>>
>> Is this what the separate bundle for tests is for or is the test 
>> subproject specifically for some sort of integration tests, ie tests 
>> against the public API?  Where do per-class unit tests go?  I would 
>> like some help understanding this practice.
>>
>> Enrique
>>
>>
>


Mime
View raw message