snapshot_test plugin
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-snapshot_test
, add it to your project by running:
fastlane add_plugin snapshot_test
This plugin depends Firebase Cloud Storage to store snapshots. If you don't have a Firebase account, see this and create a bucket.
About snapshot_test
compare screenshots with previous commit's screenshots.
Example
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
In case of screenshot_dir
like below,
.screenshot
├ Nexus6
| ├ MainPage.jpg
| └ SubPage.jpg
└ Nexus6P
├ MainPage.jpg
└ SubPage.jpg
Run tests for this plugin
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
Issues and Feedback
For any other issues and feedback about this plugin, please submit it to this repository.
Troubleshooting
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
Using fastlane Plugins
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
About fastlane
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.