QuickShot
[Moved to MavenCentral] Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes. (by Muddz)
screenshot-tests-for-android
Generate fast deterministic screenshots during Android instrumentation tests (by facebook)
Our great sponsors
QuickShot | screenshot-tests-for-android | |
---|---|---|
3 | 5 | |
686 | 1,734 | |
- | 0.3% | |
0.0 | 4.3 | |
12 months ago | about 1 month ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
QuickShot
Posts with mentions or reviews of QuickShot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-31.
-
Is there anyway I can capture TextureView
Quickshot also has some closed issues that might be relevant, such as this one.
- Android Library: Create an image/screenshot of any View or Bitamp in JPG, PNG or .nomedia formats with oneliner code. Save yourself the trouble!
screenshot-tests-for-android
Posts with mentions or reviews of screenshot-tests-for-android.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-16.
-
Ask HN: What tools do you use at work to keep your images up to date?
You might be able to use an integration test framework to generate screenshots automatically based on a series of steps that walk through the user journey.
For web: https://docs.cypress.io/guides/guides/screenshots-and-videos
For Android: https://facebook.github.io/screenshot-tests-for-android/
-
Is anyone using TDD on a significant Android app? Any tips?
Android: https://github.com/facebook/screenshot-tests-for-android
-
Adopting test driven development, CI/CD to native android development
Don't write assertions on views, it's way too brittle. Use Screenshot testing (it's also incredibly useful to use screenshot testing as part of TDD, write tests to generate screenshots, make changes, check screenshots). I'm the original author of https://github.com/facebook/screenshot-tests-for-android, so I'm biased. Also did a talk about this at Droidcon NYC a few years ago if you're interested: https://www.youtube.com/watch?v=No6iZIbh59Q
-
Android Library: Create an image/screenshot of any View or Bitamp in JPG, PNG or .nomedia formats with oneliner code. Save yourself the trouble!
If you want to do something similar in automated tests, I'd suggest https://github.com/facebook/screenshot-tests-for-android. It handles a few extra things that are useful for automation, but it's probably not that complicated to build into QuickShot.
-
Jetpack Compose Screenshot Testing With Shot
Also take a look at screenshotbot.io, I'm the original author of screenshot-tests-for-android, which Karumi Shot uses under the hood. Screenshotbot will record your screenshots on the cloud instead of your repository. This reduces the overhead of screenshot tests on your coworkers, they don't need to understand screenshot tests in order to reap the benefits. It's how we did it at Facebook, I described this in my Droidcon talk.
What are some alternatives?
When comparing QuickShot and screenshot-tests-for-android you can also consider the following projects:
InstaCapture - Android library to capture screenshot from your app
ios-snapshot-test-case - Snapshot view unit tests for iOS
screenshotty - A library for programatically capturing screenshots on Android
Buck - A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
notes-android - ✎ Android client for Nextcloud Notes app.