google / google/ground-android

[Code health] Replace usage of deprecated compose test rules

Open
#3,741 0 comments 0 reactions 0 assignees View on GitHub
type: code health
Dominant language
Kotlin
Stars
293
Forks
149
Avg merge
1d 16h
Merged PRs (30d)
42

Description

the following methods are deprecated:
- `androidx.compose.ui.test.junit4.createComposeRule`
- `androidx.compose.ui.test.junit4.createAndroidComposeRule`

Instead these should be used:
- `androidx.compose.ui.test.junit4.createComposeRule`
- `androidx.compose.ui.test.junit4.v2.createAndroidComposeRule`

This needs to be replaced in all tests that use these rules.

https://developer.android.com/develop/ui/compose/testing/migrate-v2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.