Hello Renzo,

I really appreciate your answer, thanks!

Jonas.

On Mon Dec 01 2014 at 1:42:17 PM Renzo Nuccitelli <[email protected]> wrote:

> Hi Jonás,
>
> Once I tested an integration with payment service like paypall. The
> important thing is that you want to test if your sistem does the right
> thing according to the service responses. So what I had done was mocking
> the service itself returning, returning the controlled responses (XML on
> that case, but could be anything) when doing my tests. This way they become
> independent of network or the service itself, making testing quicker and
> easier.
>
> Just take a look on Mock library (https://pypi.python.org/pypi/mock) to
> see how to do this.
>
> I hope it helps you.
>
> Regards,
> Renzo Nuccitelli
>
>
> On Thursday, November 27, 2014 6:49:30 PM UTC-2, Jonás Mora wrote:
>>
>> I'm having troubles figuring out how to properly test my gae app.
>>
>> I already read these articles:
>> https://cloud.google.com/appengine/docs/python/tools/localunittesting
>> https://cloud.google.com/appengine/docs/python/tools/handlertesting
>>
>> But I'm still not sure how to proceed, for example, how do I stub a
>> remote component such as bigquery or a ftp server?
>>
>> I would really appreciate some guidance or recommended lecture, thanks!
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/KEP8sxzCraE/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to