~/talk

Where do the Android tests belong?

Talkat droidconIN 2015 · 2015-12-12..12-13· [android, testing]
links:none on file
links:none on file
slides:none on file

Examines why many Android projects end up with an inverted test pyramid (heavy UI/end-to-end tests, few unit tests) and the platform-specific obstacles to unit testing. Describes experimenting with design patterns (MVP, MVVM) and testing tools (JUnit, Robolectric, Espresso, Calabash), presents a working app example, and shows a TDD-driven mixed MVP/MVVM pattern and how to place and write tests at each layer to achieve a healthier test pyramid.

AI-written summary · about

  1. 0:00Start
  2. 5:38IMPORTANCE OF TESTS
  3. 10:34INVERTED TEST PYRAMID
  4. 15:35WHY LESS UNIT TESTS?
  5. 29:38BEFORE MODEL-VIEW-PRESENTER
  6. 33:23MIX OF MVVM AND MVP
~/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.