You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,31 +83,31 @@ Testify works by referencing a PNG baseline found in your `androidTest/assets` d
83
83
Run all the screenshot tests in your app and update the local baseline.
84
84
85
85
```bash
86
-
./gradlew :screenshotRecord
86
+
./gradlew screenshotRecord
87
87
```
88
88
89
89
### Verify the tests
90
90
91
91
Run all the screenshot tests in your app and fail if any differences from the baseline are detected.
92
92
93
93
```bash
94
-
./gradlew :screenshotTest
94
+
./gradlew screenshotTest
95
95
```
96
96
97
97
### Pull images from the device
98
98
99
99
Copy images from the `app_images` directory on your emulator to your local `androidTest/assets` directory.
100
100
101
101
```bash
102
-
./gradlew :screenshotPull
102
+
./gradlew screenshotPull
103
103
```
104
104
105
105
### Erase any existing images from the device
106
106
107
107
Clear any baseline images that may be remaining on your emulator.
108
108
109
109
```bash
110
-
./gradlew :screenshotClear
110
+
./gradlew screenshotClear
111
111
```
112
112
113
113
### Generate a YAML test report
@@ -116,11 +116,11 @@ You can optionally generate a YAML test report for offline parsing by adding `<m
116
116
Once enabled, Testify will create a `report.yml` cataloging the statistics about the most recent test run.
117
117
You can view the report with:
118
118
```bash
119
-
./gradlew :reportShow
119
+
./gradlew reportShow
120
120
```
121
121
You can copy the report.yml file to your local project directory with:
122
122
```bash
123
-
./gradlew :reportPull
123
+
./gradlew reportPull
124
124
```
125
125
126
126
There are a variety of additional Gradle commands available through the Testify plugin. For advance usage, please refer to the [Plugin guide](Plugins/Gradle/README.md).
0 commit comments