Shot is an Android screenshot-testing framework built as a Gradle plugin and core Android library. It lets developers record reference screenshots and compare them against later test runs to detect visual regressions. Tests use a ScreenshotTest interface and a ready-to-use instrumentation runner integrated with the Android testing workflow. The framework supports traditional Android Views as well as Jetpack Compose components. Gradle tasks handle recording, verification, downloading screenshots, cleanup, and flavor-specific test configurations. When comparisons fail, Shot generates reports that help developers inspect visual differences. It is designed for local development and continuous integration, with emulator configuration guidance for more stable rendering across environments.

Features

  • Android screenshot regression testing
  • Android Views and Jetpack Compose support
  • Reference screenshot recording and verification
  • Dedicated ScreenshotTest interface and test runner
  • Flavor-aware Gradle testing tasks
  • Visual difference reports for failed comparisons

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Shot

Shot Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Shot!

Additional Project Details

Operating Systems

Android

Programming Language

Kotlin

Related Categories

Kotlin Libraries

Registered

2 days ago