incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Childers <chip.child...@sungard.com>
Subject Re: Folder structure for unit-tests
Date Tue, 23 Oct 2012 20:14:35 GMT
On Tue, Oct 23, 2012 at 4:05 PM, Manikanta Kattamuri
<manikanta.kattamuri@sungard.com> wrote:
> Hi All,
>
>
>
> While I was setting up for writing test cases I came up with some placing
> issues.
>
>
>
> The source code of the projects are in src folder and in pom.xml
> <sourceDirectory> is specified
>
> Approach 1:
>
> If need to place the testcase files  I should not change the present
> structure and create a new folder test and add <testSourceDirectory> in
> pom.xml
>
>
>
> 2.
>
> Second if I create src/main and move (git mv) the contents of src i.e
> com/.. to src/main/ then I can remove the entry in pom.xml and create
> /src/test and place my testcases into it.
>
>
>
> What would be the suggested approach.( I recommend approach 1 as it does
> not impact much of the source code but is not the default maven structure.)
>
>
>
> Manikanta

Hugo and Edison - did you guys have any thoughts about reorganizing
the source code structure to match up with default maven folders?

-chip

Mime
View raw message