levibostian / AndroidBlanky

Create a new Android app fast. Comes pre-installed with libraries you already use.
7 stars 0 forks source link

Use of Fastlane Screengrab to automate screenshots for Play Store #50

Closed levibostian closed 5 years ago

levibostian commented 5 years ago

Screengrab is already installed in Blanky but it is not being used.

The problem is that I only need Screengrab to run on a handful of UI tests of my choosing instead of all of them.


Problem: Automate screenshots for the Play Store. Screengrab is a great tool to do this. Screengrab runs your UI tests while taking the screenshots along the way. AndroidBlanky is not setup at this point to only running a small number of UI tests designed specifically for Play Store images.

Solution: Checking out the docs for screengrab, you can specify a test package for screengrab to run. You can annotate certain tests in your Ui tests for the Android instrumentation test runner to skip so that the Screengrab tests are only run by Screengrab and not included in the test suite.

Todo:

What would be really cool if....

levibostian commented 5 years ago

This has been completed and will be pushed to master shortly.