mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Merge pull request #159 from vector-im/renovate/com.google.testparameterinjector
Update dependency com.google.testparameterinjector:test-parameter-injector to v1.10
This commit is contained in:
@@ -21,22 +21,31 @@
|
|||||||
- Install Git LFS through your package manager of choice (`brew install git-lfs` | `yay -S git-lfs`).
|
- Install Git LFS through your package manager of choice (`brew install git-lfs` | `yay -S git-lfs`).
|
||||||
- Install the Git LFS hooks into the project.
|
- Install the Git LFS hooks into the project.
|
||||||
|
|
||||||
```bash
|
```shell
|
||||||
# with element-android as the current working directory
|
# with element-android as the current working directory
|
||||||
git lfs install --local
|
git lfs install --local
|
||||||
```
|
```
|
||||||
|
|
||||||
- If installed correctly, `git push` and `git pull` will now include LFS content.
|
If installed correctly, `git push` and `git pull` will now include LFS content.
|
||||||
|
|
||||||
## Recording
|
## Recording
|
||||||
|
|
||||||
- `./gradlew recordPaparazziDebug`
|
It's recommended to delete the content of the folder `/snapshots` before recording.
|
||||||
- Paparazzi will generate images in `:tests:uitests/src/test/snapshots`, which will need to be committed to the repository using Git LFS.
|
|
||||||
|
```shell
|
||||||
|
rm -rf ./tests/uitests/src/test/snapshots
|
||||||
|
./gradlew recordPaparazziDebug
|
||||||
|
```
|
||||||
|
|
||||||
|
Paparazzi will generate images in `:tests:uitests/src/test/snapshots`, which will need to be committed to the repository using Git LFS.
|
||||||
|
|
||||||
## Verifying
|
## Verifying
|
||||||
|
|
||||||
- `./gradlew verifyPaparazziDebug`
|
```shell
|
||||||
- In the case of failure, Paparazzi will generate images in `:tests:uitests/out/failure`. The images will show the expected and actual screenshots along with a delta of the two images.
|
./gradlew verifyPaparazziDebug
|
||||||
|
```
|
||||||
|
|
||||||
|
In the case of failure, Paparazzi will generate images in `:tests:uitests/out/failure`. The images will show the expected and actual screenshots along with a delta of the two images.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ test_hamcrest = "org.hamcrest:hamcrest:2.2"
|
|||||||
test_orchestrator = "androidx.test:orchestrator:1.4.2"
|
test_orchestrator = "androidx.test:orchestrator:1.4.2"
|
||||||
test_turbine = "app.cash.turbine:turbine:0.12.1"
|
test_turbine = "app.cash.turbine:turbine:0.12.1"
|
||||||
test_truth = "com.google.truth:truth:1.1.3"
|
test_truth = "com.google.truth:truth:1.1.3"
|
||||||
test_parameter_injector = "com.google.testparameterinjector:test-parameter-injector:1.8"
|
test_parameter_injector = "com.google.testparameterinjector:test-parameter-injector:1.10"
|
||||||
|
|
||||||
# Others
|
# Others
|
||||||
coil = { module = "io.coil-kt:coil", version.ref = "coil" }
|
coil = { module = "io.coil-kt:coil", version.ref = "coil" }
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user