Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to Android for QA

petrnohejl
November 14, 2017

Intro to Android for QA

petrnohejl

November 14, 2017
Tweet

More Decks by petrnohejl

Other Decks in Programming

Transcript

  1. HELLO TESTER • What do you expect from this workshop?

    • What is your biggest tester challenge you have done so far?
  2. LANGUAGES • Java (.java) - application logic • Kotlin (.kt)

    - application logic • Groovy (.gradle) - build scripts • XML (.xml) - layouts, styles, drawables, values, etc. • Markdown (.md) - documentation • C/C++ (.c/.cpp) - NDK
  3. JAVA VIRTUAL MACHINE (JVM) • Code is compiled to Java

    bytecode, which is executed by a Java virtual machine • Android bytecode is interpreted by Dalvik virtual machine • On Android 5+ bytecode is compiled into native instructions that are executed by the device's runtime environment (ART) • Kotlin also runs on the JVM
  4. ANDROID SDK • SDK platform • Source codes & documentation

    • System images • Emulator • Libraries • Tools • SDK versions • Dashboards
  5. GRADLE • Build tool • Application id • Application version

    • Target SDK • Min SDK • Dependencies • Build variants • Flavors
  6. GIT

  7. ANDROID STUDIO • Check out / import project • SDK

    manager • AVD manager • Emulator • Project view • Build & run • Logcat (Monitor) • Profilers • Screen capture / record • Terminal • Build release APK • Clean project
  8. PROJECT STRUCTURE • Gradle Wrapper • Top level Gradle script

    • Gradle properties, settings, utils • Local properties • Keystore • Gitignore
  9. MODULE STRUCTURE • Main module usually called app or mobile

    • Gradle script • Proguard rules script • Build folder • Source code • Local tests • Instrumented tests
  10. TECH STACK - LIBRARIES • Dagger • DBFlow • Firebase

    • Glide • GSON • LeakCanary • MVVM • OkHttp • Realm • Retrofit • RxJava