~/talk

Testable Android Architecture

Talkat Android Makers 2017 · on Tuesday, 2017-04-11· [android]

Claims a concrete architecture called MVPC (modified MVP) that splits activity as controller, presenter (logic), and model (data) so half the app does not touch Android. Tests use JUnit + Mockito (local JVM) for fast unit tests, Robolectric as integration tests, and Espresso for end-to-end UI; login presenter examples show synchronous testing by calling thread.run, mocked account validator, and a test controller. Sample app lives in ecgreb mvpc and presenter lifecycle and view-state manager strategies handle rotations.

AI-written summary · about

  1. 0:00Start
  2. 0:56Testing on Android
  3. 2:13Clean Architecture
  4. 4:25Activity
  5. 4:45Life Cycle
  6. 13:01Views
  7. 17:39Which Framework Do You Use the Most for Unit Testing on Android
  8. 18:04The Test Pyramid
  9. 23:36Decoupled Mvpc Architecture Unit Testing
  10. 24:59Login Presenter
  11. 27:19Writing an Integration Test
  12. 34:43Legacy Code
  13. 37:41Choose an Architecture Appropriate to Your Use Case
  14. 39:44Constructor Injection
~/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.