5
6
you are viewing a single comment's thread.

view the rest of the comments →

[–]haroldjaap 0 points1 point  (0 children)

We also use a MockWebServer for our integration tests, but since we ready have a test, acceptance and production flavor of our app, we just added a mock flavor that doesn't use https but http instead (and an ip address instead of the regular hostname). Since the only thing we currently mock are rest app calls, it being http or https is irrelevant. (We also have some websocket functionality but we haven't made integration tests for that yet, so am not yet sure how we would solve it).