# pedrovgs/Shot

Screenshot testing library for Android

Repository: https://github.com/pedrovgs/Shot
Canonical: https://ross.abutalabs.com/products/shot
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android, gradle-plugin, screenshot-tests, java, testing, testing-tools, jetpack-compose
Last push: 2026-01-16T10:46:26+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 62, release rhythm 8, longevity 100
- inputs: {"age_days": 3400, "days_push": 229, "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 1206, forks 111 (observed 2026-08-28T04:03:59.415037+00:00)

## What it is
Shot is a Gradle plugin and Android library for writing and running screenshot tests on Android apps, supporting both regular views and Jetpack Compose. It provides a ScreenshotTest interface, a custom test runner, and Gradle tasks to record and verify screenshots with visual reports.

## Use cases
- run screenshot tests for android apps
- visual regression testing for jetpack compose ui
- compare activity screenshots in instrumentation tests
- record and verify ui snapshots on ci
- detect unintended ui rendering changes in android

## When to choose
- you need screenshot/visual regression testing for Android views or Compose
- you want simple Gradle-integrated record/verify workflow with HTML reports
- you run UI tests on emulators or CI and need rendering-diff detection

## When to avoid
- you need screenshot testing on iOS or non-Android platforms
- you only need unit tests without UI snapshot comparison
- your project doesn't use Gradle or Android instrumentation tests

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing
- domain: testing, mobile-development, android-tools
- platform: jvm
- tags: screenshot-testing, gradle-plugin, jetpack-compose, visual-regression, android-instrumentation-tests, android, gradle

## Member repositories
- pedrovgs/Shot (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.415037+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:19:18.936274+00:00, confidence not recorded.
  - readme: https://github.com/pedrovgs/Shot (fetched 2026-08-28T04:03:59.415037+00:00, sha 29ebfa003168)
- Data as of 2026-08-30T08:39:29.467469+00:00.
