79435955

Date: 2025-02-13 11:19:47
Score: 1.5
Natty:
Report link

It highly depends on what and how you are ui testing. Content descriptions are not possible for certain composables e.g LazyColumn or a Custom composable you write but you might still need to test it. In this case having a testTag is perfectly fine. Just make sure that you don't have testTag strings all over the place; separate them into a TestTagConstants if possible. You can more about ui testing here

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alfred Afutu