Change style.

pull/1405/head
Jaehwa Noh 1 year ago committed by GitHub
parent 1db2dc49bc
commit 7f2d17cb6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -116,8 +116,8 @@ To run the tests execute the following gradle tasks:
> [!NOTE] > [!NOTE]
> You should not run `./gradlew test` or `./gradlew connectedAndroidTest` as this will execute > You should not run `./gradlew test` or `./gradlew connectedAndroidTest` as this will execute
tests against _all_ build variants which is both unecessary and will result in failures as only the > tests against _all_ build variants which is both unecessary and will result in failures as only the
`demoDebug` variant is supported. No other variants have any tests (although this might change in future). > `demoDebug` variant is supported. No other variants have any tests (although this might change in future).
## Screenshot tests ## Screenshot tests
A screenshot test takes a screenshot of a screen or a UI component within the app, and compares it A screenshot test takes a screenshot of a screen or a UI component within the app, and compares it
@ -140,10 +140,10 @@ images. These can also be found in `modulename/src/test/screenshots`.
> [!NOTE] > [!NOTE]
> The known correct screenshots stored in this repository are recorded on CI using Linux. Other > The known correct screenshots stored in this repository are recorded on CI using Linux. Other
platforms may (and probably will) generate slightly different images, making the screenshot tests fail. > platforms may (and probably will) generate slightly different images, making the screenshot tests fail.
When working on a non-Linux platform, a workaround to this is to run `recordRoborazziDemoDebug` on the > When working on a non-Linux platform, a workaround to this is to run `recordRoborazziDemoDebug` on the
`main` branch before starting work. After making changes, `verifyRoborazziDemoDebug` will identify only > `main` branch before starting work. After making changes, `verifyRoborazziDemoDebug` will identify only
legitimate changes. > legitimate changes.
For more information about screenshot testing For more information about screenshot testing
[check out this talk](https://www.droidcon.com/2023/11/15/easy-screenshot-testing-with-compose/). [check out this talk](https://www.droidcon.com/2023/11/15/easy-screenshot-testing-with-compose/).

Loading…
Cancel
Save