![stack the states game free android stack the states game free android](https://i.ytimg.com/vi/W5V9fNNVEiY/maxresdefault.jpg)
Sometimes, the API might give responses that aren’t straightforward to serialize and deserialize directly. You’ll see a screen like this:īefore setting up your MockWebServer, you might wonder why you’d want to test your API calls. Select starter from the materials folder.Īfter you’ve imported the starter project, build and run. Open Android Studio and select Open an existing Android Studio project. In this tutorial, you’ll focus less on the code from the files above and more on setting up MockWebServer and writing tests.
#STACK THE STATES GAME FREE ANDROID HOW TO#
How to write UI tests to make sure your app functions as expected.How to make MockWebServer mock the behavior of your actual server.
![stack the states game free android stack the states game free android](http://static-5.app4smart.me/uploads/posts/thumbs/7238/f-1641-52b35b3808.jpg)
#STACK THE STATES GAME FREE ANDROID UPDATE#
Update note: Subhrajyoti Sen updated this tutorial to use a working API.