Skip to content

[Code health] Replace usage of deprecated compose test rules #3741

@andreia-ferreira

Description

@andreia-ferreira

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: code healthImprovements to readability or robustness of codebase

    Type

    No fields configured for Task.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions