~/talk

Android Endpoint Integration Tests with Mocked Endpoints

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [testing]
links:none on file
slides:none on file

An end-to-end integration test framework that builds about 40 endpoints and uses an OkHttp interceptor to return recorded responses distinguishes app bugs from flaky back ends, runs as JUnit tests with RxJava off the main thread, and gives 3–5 seconds iteration feedback. It supports mock only / log only / do not mock modes, saves response files and matching specs, substitutes dates and params to avoid time brittleness, and safely handles side‑effect calls by avoiding network hits when configured.

AI-written summary · about

  1. 0:00Intro
  2. 0:41The Problem
  3. 4:42Requirements
  4. 5:40The Example
  5. 8:04Rx Java
  6. 9:21Testing the Observable
  7. 13:13A Mocked Interceptor
  8. 17:15Matching Requests
  9. 20:24Saving New Mocks
  10. 24:10Back to the Test with Side Effects
  11. 26:49Photo Credits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.