Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 88b151a

Browse files
authored
[Doc] Fix gradle commands typo. (#220)
1 parent 967d572 commit 88b151a

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Plugins/Gradle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ You can customize the destination path and file name for the report file by prov
7474
Example:
7575

7676
```bash
77-
./gradlew :reportPull -PreportPath="/user/testify/" -PreportFileName="my-report.yml"
77+
./gradlew Sample:reportPull -PreportPath="/user/testify/" -PreportFileName="my-report.yml"
7878
```
7979

8080
### reportShow
@@ -183,4 +183,4 @@ Verify that the ImageMagick tools required for diff images are installed. The `g
183183
Verify that the ImageMagick tools required for diff images are installed
184184
------------------------------------------------------------
185185
Compare = true
186-
```
186+
```

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,31 +83,31 @@ Testify works by referencing a PNG baseline found in your `androidTest/assets` d
8383
Run all the screenshot tests in your app and update the local baseline.
8484

8585
```bash
86-
./gradlew :screenshotRecord
86+
./gradlew screenshotRecord
8787
```
8888

8989
### Verify the tests
9090

9191
Run all the screenshot tests in your app and fail if any differences from the baseline are detected.
9292

9393
```bash
94-
./gradlew :screenshotTest
94+
./gradlew screenshotTest
9595
```
9696

9797
### Pull images from the device
9898

9999
Copy images from the `app_images` directory on your emulator to your local `androidTest/assets` directory.
100100

101101
```bash
102-
./gradlew :screenshotPull
102+
./gradlew screenshotPull
103103
```
104104

105105
### Erase any existing images from the device
106106

107107
Clear any baseline images that may be remaining on your emulator.
108108

109109
```bash
110-
./gradlew :screenshotClear
110+
./gradlew screenshotClear
111111
```
112112

113113
### Generate a YAML test report
@@ -116,11 +116,11 @@ You can optionally generate a YAML test report for offline parsing by adding `<m
116116
Once enabled, Testify will create a `report.yml` cataloging the statistics about the most recent test run.
117117
You can view the report with:
118118
```bash
119-
./gradlew :reportShow
119+
./gradlew reportShow
120120
```
121121
You can copy the report.yml file to your local project directory with:
122122
```bash
123-
./gradlew :reportPull
123+
./gradlew reportPull
124124
```
125125

126126
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

Comments
 (0)