# android/android-test

An extensive framework for testing Android apps

Repository: https://github.com/android/android-test
Canonical: https://ross.abutalabs.com/products/android-test
Homepage: https://android.github.io/android-test
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-24T14:31:58+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4030, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1220, forks 342 (observed 2026-08-28T04:04:01.882623+00:00)

## What it is
The AndroidX Test Libraries provide an extensive framework for testing Android apps, including JUnit 4 support and functional UI tests via Espresso and related APIs. The repo also hosts Bazel support for android_instrumentation_test.

## Use cases
- write UI tests for Android apps
- run instrumentation tests from Android Studio or command line
- add JUnit 4 test support to an Android project
- run Android tests with Bazel
- automate functional testing of Android UIs

## When to choose
- you are building or testing Android apps and need the official AndroidX Test libraries
- you need Espresso-based UI testing or test orchestration on Android
- your build uses Bazel and needs android_instrumentation_test support

## When to avoid
- you are testing non-Android JVM or server-side applications
- you need cross-platform mobile testing for iOS as well
- you want a third-party test framework with different APIs than AndroidX

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing
- domain: testing, mobile-development, android-tools
- platform: jvm
- tags: androidx-test, espresso, uiautomator, instrumentation-tests, bazel, ui-testing, android

## Member repositories
- android/android-test (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.882623+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-30T06:15:56.756867+00:00, confidence not recorded.
  - readme: https://github.com/android/android-test (fetched 2026-08-28T04:04:01.882623+00:00, sha 45e758f6fe60)
  - homepage: https://android.github.io/android-test (fetched 2026-08-29T12:24:12.592556+00:00, sha 19294e8353ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
