Hi,

I think what Bertrand meant was, that we have a mechanism to declare
integration tests as online or offline mode tests. I do not know the
details right now, but I think there is a flag to disable online
tests.

IIRC that's independent of the Maven offline mode.

Best,
 - Fabian

2012/9/24 Alessio Bosca <[email protected]>:
> Dear Reto and all,
>
> sorry for the inconvenience. The server hosting our web services crashed and
> our backup mechanism failed in automatically detecting the problem and
> restarting the server.
> Now CELI services are on line and working again; I just run the tests of
> CELI enhancement engines on my machine and they passed.
>
> Concerning the discussion about accessing external services during the
> tests, if you prefer I could remove the actual access to CELI services from
> the code. In the tests  the interaction with the service can be substituted
> with a resource (a file) containing a serialization of the service response.
> However this tests will not guarantee that the services are actually
> working.. Do you have any suggestion on how solving this issue?
>
> Bests
>     Alessio
>
>
>
>
> On 09/24/2012 12:19 PM, Reto Bachmann-Gmür wrote:
>>
>> On Mon, Sep 24, 2012 at 8:54 AM, Bertrand Delacretaz
>> <[email protected]
>>>
>>> wrote:
>>> On Sunday, September 23, 2012, Reto Bachmann-Gmür wrote:
>>>
>>>> ...I think the tests shold not access external services...
>>>
>>> Yes - there's OfflineMode for that.
>>>
>> The offline mode is for not updating libraries from the remote repos. If I
>> have the libraries in the local repository I can use the offline mode. If
>> tests are skipped in offline mode this means that some projects might buil
>> with -o and fail otherwise. I think this shouldn't be the case, a built
>> should be tested in offline mode with the same accuracy. Besides I'm not
>> sure how tests could check if maven is run in offline mode, the cedi tests
>> also fail independently if the maven built is run offline or online.
>>
>>
>> Reto
>>
>
>
> --
> *************************************
> Alessio Bosca, Ph.D.
> CELI s.r.l.
> Via San Quintino 31
> 10121 Torino
> Tel. +39 011.562.71.15
> Fax +39 011.506.40.86
> http://www.celi.it
> *************************************
>
>



-- 
Fabian
http://twitter.com/fctwitt

Reply via email to