Automated Testing with Android - up1/training-courses GitHub Wiki

Automated Testing with Android

Duration 2 days

Course Outline

Day 1

  • Test consideration
    • Why test ?
    • Types of tests
    • Local vs. on-device
  • Tests as you go
    • Sample app
    • Smallest unit first
    • TDD
      • RED-Green-Refactor
    • Code coverage
    • UI-less in-device
      • Setup
      • Null test
      • Count test
      • Lookup test
  • UI Testing
    • Espresso
    • RecyclerView

Day 2

  • Hermetic Environment
    • Test doubles
    • Dependency injection
    • Custom test runner
    • Test state
  • Robot pattern
    • What vs. How ?
    • Separation of Concern
  • Mobile app architecture
    • Model-View-Presenter
    • MVVM
  • Mocking Tool
    • Mockito
    • Instrumentation testing