~/talk

Common pitfalls in mobile testing

Talkat droidcon Berlin 2015 · 2015-06-15..06-17· [testing]
speakerdeck:ljanzik
slides:none on file

Gives concrete failures: tests that only assert simple return values, coverage jumping from ~5–6% to 90% coverage but meaningless by merely calling methods, and tests that verify implementation calls instead of behavior. Shows tools and fixes: Retrofit interceptors, Mockito spies vs real request inspection, Robolectric shadows (for example Robolectric shadow content resolver and Apache HTTP interception caveats), Appium page objects to separate instrumentation from assertions, avoid singletons/static methods, prefer dependency injection (Dagger) and don’t use PowerMock as a design crutch.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Brief history
  3. 10:32Know your tools
  4. 11:59Only test code
  5. 15:29Static code
~/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.