RestComm / restcomm-android-sdk

Android Mobile SDK to easily integrate communication features (WebRTC, messaging, presence, voice, video, screensharing) based on RestComm into native Mobile Applications
http://www.restcomm.com/
GNU Affero General Public License v3.0
153 stars 109 forks source link

Introduce REST client facilities in UI tests #555

Closed atsakiridis closed 7 years ago

atsakiridis commented 7 years ago

Because we need to be able to request from Restcomm that:

In our UI Tests. Let's make a REST client base with what is necessary for the UI tests that we can later improve for adding more advanced functionality like contacts handing in the server side.

atsakiridis commented 7 years ago

Originally we were planning on introducing REST facilities in the SDK and use them from UI tests, but his isn't a good practice, since UI tests are supposed to be black box tests and not exercise actual SDK code, but act on UI elements and inspect results in the UI. And since code needed to send REST requests is pretty straight forward let's keep it in the UI test code for now.

We can revisit in the future.

Fixed with f582a62c268e1c850bf1657f34989e040cce76fb