# android-snapshot-testing-playground **Repository Path**: auto-tools_1/android-snapshot-testing-playground ## Basic Information - **Project Name**: android-snapshot-testing-playground - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-26 - **Last Updated**: 2025-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Screenshot Test Playground

This is a project of me playing with Shot - a Gradle plugin and a core android library thought to run screenshot tests for Android.


## Table of Contents - [Table of Contents](#table-of-contents) - [About](#about) - [Built With](#built-with) - [Contributing](#contributing) - [Contact](#contact) ## About How to run the snapshot test? 1. run this gradle script `./gradlew executeScreenshotTests -Precord` to record your screenshots (this screenshots will be used as the expected result) 2. do some changes on the ui or you can keep the ui as it is 3. run `./gradlew executeScreenshotTests` to verify your new ui is it match with the expected result or not. 4. you can see the result of the test in `/app/build/report/shot/verification/index.html` result examples: ![failing test](/app/images/failingtest.png) ![success test](/app/images/successtest.png) ## Built With * [Kotlin](https://kotlinlang.org/) * [Androidx](https://developer.android.com/jetpack/androidx) * [Jetpack Compose](https://developer.android.com/jetpack/compose) * [Shot](https://github.com/pedrovgs/Shot) ## Contributing 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ## Contact Anang Kurniawan

LinkedInMediumDribbbleTwitterInstagram

[contributors-shield]: https://img.shields.io/github/contributors/othneildrew/Best-README-Template.svg?style=flat-square [contributors-url]: https://github.com/othneildrew/Best-README-Template/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/othneildrew/Best-README-Template.svg?style=flat-square [forks-url]: https://github.com/othneildrew/Best-README-Template/network/members [stars-shield]: https://img.shields.io/github/stars/othneildrew/Best-README-Template.svg?style=flat-square [stars-url]: https://github.com/othneildrew/Best-README-Template/stargazers [issues-shield]: https://img.shields.io/github/issues/othneildrew/Best-README-Template.svg?style=flat-square [issues-url]: https://github.com/othneildrew/Best-README-Template/issues [license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=flat-square [license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/othneildrew