Hi,

at the moment the "mvn clean" already solves the problem as with clean
e.g. the sling folder is deleted.

But IMO (agreeing with Bertrand) the right solution would be that
tests are shipped with appropriate setup routines to ensure that they
always run with identical and well defined preconditions. No matter if
a user called "mvn clean" or not before.

- Fabian

2011/6/21 Rupert Westenthaler <[email protected]>:
> Hi Fabian, all
>
> A month ago I already tried to move the /sling folder from
> "{integration-tests}/sling" to the target folder e.g.
> "{integration-tests}/target/test-data/sling". But I could not find out
> how to change that and so I moved on with other things .
>
> Moving the files created by the tests under the target folder will
> automatically remove them when doing a "mvn clean" what should be good
> enough solution for this problem.
>
> best
> Rupert
>
> On Tue, Jun 21, 2011 at 6:47 PM, Fabian Christ
> <[email protected]> wrote:
>> Okay - I will have a look tomorrow and see how to handle this.
>>
>> Thank you!
>>  - Fabian
>>
>> 2011/6/21 Bertrand Delacretaz <[email protected]>:
>>> On Tue, Jun 21, 2011 at 4:18 PM, Olivier Grisel
>>> <[email protected]> wrote:
>>>> ...We should extend the integration test tooling to clean the data folder
>>>> in some kind of tearDown method (or maybe better do it in a setUp
>>>> method before running the tests)....
>>>
>>> Yes - running tests multiple times should be possible without
>>> requiring special operations.
>>>
>>> -Bertrand
>>>
>>
>>
>>
>> --
>> Fabian
>>
>
>
>
> --
> | Rupert Westenthaler             [email protected]
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>



-- 
Fabian

Reply via email to