# google-developer-training/advanced-android-testing

Android Testing Codelab

Repository: https://github.com/google-developer-training/advanced-android-testing
Canonical: https://ross.abutalabs.com/products/advanced-android-testing
Homepage: https://codelabs.developers.google.com/codelabs/android-testing/
Language: Kotlin
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2024-12-11T16:41:33+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3974, "days_push": 630, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1019, forks 685 (observed 2026-08-28T04:03:15.098308+00:00)

## What it is
A deprecated Google codelab sample app (TO-DO Notes) in Kotlin for the Advanced Android Kotlin Testing series (5.1-5.3), teaching Android testing basics, test doubles, dependency injection, and testing coroutines and Jetpack integrations. It is explicitly deprecated and will be removed.

## Use cases
- learn android testing in kotlin
- learn how to test viewmodels and livedata
- learn dependency injection and test doubles on android
- learn to test coroutines and room
- write espresso end-to-end tests for android apps
- find a sample android app with a test suite

## When to choose
- you want a step-by-step guided tutorial on Android testing with Jetpack
- you need a real sample app to practice unit, integration, and end-to-end tests
- you are following the archived Advanced Android in Kotlin course

## When to avoid
- you need up-to-date testing practices or current Android APIs
- you want a maintained testing library or framework rather than a tutorial
- you work with Jetpack Compose instead of the older View/LiveData stack

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: testing, e2e-testing, mocking
- domain: testing, mobile-development, tutorials, education
- platform: jvm
- tags: android, kotlin, codelab, jetpack, espresso, robolectric, coroutines, deprecated, tutorial, sample-app, mobile

## Member repositories
- google-developer-training/advanced-android-testing (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:15.098308+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:09:22.790452+00:00, confidence not recorded.
  - readme: https://github.com/google-developer-training/advanced-android-testing (fetched 2026-08-28T04:03:15.098308+00:00, sha f3cb64e3a5f0)
  - homepage: https://codelabs.developers.google.com/codelabs/android-testing/ (fetched 2026-08-29T13:09:40.658297+00:00, sha e25fc347dc95)
  - site_page: https://developer.android.com/jetpack/docs/guide (fetched 2026-08-29T13:09:40.692076+00:00, sha 8f7490966cc0)
  - site_page: https://developer.android.com/about/versions/17 (fetched 2026-08-29T13:09:40.696829+00:00, sha f14da0e5f0dc)
  - site_page: https://developer.android.com/about/versions/16 (fetched 2026-08-29T13:09:40.698731+00:00, sha e0d8884a0810)
  - site_page: https://developer.android.com/about/versions/15 (fetched 2026-08-29T13:09:40.700553+00:00, sha 6361b7dabcc0)
  - site_page: https://developer.android.com/about/versions/14 (fetched 2026-08-29T13:09:40.702263+00:00, sha 0ff096076951)
  - site_page: https://developer.android.com/about/versions/13 (fetched 2026-08-29T13:09:40.704206+00:00, sha 97045a4234d9)
  - site_page: https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-survey (fetched 2026-08-29T13:09:40.687366+00:00, sha d3560c465d98)
  - site_page: https://developer.android.com/studio/test (fetched 2026-08-29T13:09:40.695021+00:00, sha 98eaf1ae3d97)
- Data as of 2026-08-30T08:39:29.467469+00:00.
