mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-02 13:00:01 -04:00
docs: add details on updating screenshot tests to CONTRIBUTING.md
This commit is contained in:
@@ -75,6 +75,19 @@ For a quick way to run a specific emulator test:
|
||||
./gradlew connectedFullDebugAndroidTest \
|
||||
-Pandroid.testInstrumentationRunnerArguments.class=org.fdroid.fdroid.MainActivityExpressoTest
|
||||
|
||||
## Screenshot tests
|
||||
|
||||
F-Droid uses screenshot tests to check that everything displays correctly. If
|
||||
you've intentionally updated the UI or visible strings, you'll need to update
|
||||
the screenshots to avoid breaking the tests.
|
||||
|
||||
Make sure you've pulled the screenshot files:
|
||||
|
||||
git lfs pull
|
||||
|
||||
To update the screenshots:
|
||||
|
||||
./gradlew :app:updateBasicDefaultDebugScreenshotTest
|
||||
|
||||
## Making releases
|
||||
|
||||
|
||||
Reference in New Issue
Block a user