~/talk

Code Quality on Android - A grumpy old man's perspective

Talkat Mobilization 8 · on Friday, 2018-10-26· [android, developer-experience]
links:none on file
slides:none on file

OneView enforces build and quality gates with Jenkins, runs static analysis with SonarQube (plus Detekt for Kotlin) and requires heavy unit testing: about 80% of tests are unit tests, integration tests cover flows, and instrumentation tests stay minimal. Unit tests use Mockito and RxJava helpers; view tests use Robolectric to avoid slow emulators. Code uses constructor injection, builders or Toothpick for test doubles. A CI fail on coverage or Sonar rules blocks merges; a fake test once let a bug reach production.

AI-written summary · about

  1. 0:00Start
  2. 4:50Don't let premature optimization replace readability
  3. 6:54Setup a CICD server
  4. 8:08Use a static code analizer
  5. 11:13Code reviews
  6. 15:23How do we approach testing?
  7. 16:15Test a single method of a single class
  8. 30:45A grumpy old man's perspective
~/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.