~/talk

Testing rebooted (with AndroidX Test)

Talkat Android Dev Summit 2018 · 2018-11-07..11-08· [testing, android]
links:none on file
links:none on file
slides:none on file

AndroidX Test 1.0 ships with concrete, cross‑runtime APIs: ApplicationProvider for a single app context, ActivityScenario with moveToState and recreate to drive lifecycle testing, FragmentScenario, Espresso and Truth Android subjects for intent and view assertions. Roboelectric 4.0 and device runs use the same tests; verification runs across API level 15 through latest. Recommended flow: iterate locally with Robolectric, then run identical tests on virtual/real devices before submit.

AI-written summary · about

  1. 0:00Introduction to testing
  2. 0:37Local vs instrumentation
  3. 1:40Instrumentation test issues
  4. 2:45The android testing story
  5. 5:08Introducing AndroidX Test
  6. 6:18New AndroidX Test features
  7. 9:02Application provider API
  8. 10:47Activity scenario driving
  9. 12:20Testing lifecycle states
  10. 14:48Activity recreation testing
  11. 16:34Truth extensions for intents
  12. 17:38AndroidX Test components
  13. 19:17Unified testing workflow
~/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.