~/talk

Testing Out Kotlin

Talkat DevFestMN 2018 · on Saturday, 2018-02-10· [android]
slides:none on file

Kotlin adoption is shown through concrete testing techniques: use Robolectric for unit tests, mock network calls with Mockito, and reserve Espresso for critical UI paths; guideline numbers are ~70% unit tests, ~20% integration tests, rest end-to-end. Examples replace Java boilerplate with extension functions, reified types and inline lambdas; a 14‑line higher‑order helper (a network captor + replay DSL) eliminates repeated ArgumentCaptor code and demonstrably runs in tests inside Android Studio and with Android KTX.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Why Kotlin
  3. 3:35Kotlin Updates
  4. 10:22Kotlin Tests
  5. 13:19Kotlin Extension Functions
  6. 16:47Finding New Expressions
  7. 18:02Infix Operator
  8. 19:28Reified Types
  9. 22:00HigherOrder APIs
  10. 25:41Call Syntax
  11. 31:33Extension Lambda
~/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.