jeudi 20 août 2015

Android + Espresso + assync HTTP request -> how to test?

i'm trying to test Android app using Espresso FW and I stucked on the problem with doing async HTTP request.

How can i test the case that app (activity) is waiting for processing request and after the response is received is displayed next activity with result or error message?

I tried to find any solution how to do it in the Espresso with testing against the data from the test server, but without luck.

Many thanks for any advice, example or link.

Aucun commentaire:

Enregistrer un commentaire