Quick question, in a compose test, with ```fun myT...
# compose
n
Quick question, in a compose test, with
Copy code
fun myTest() {
...
composeTestRule.onNodeWithText(text).assertIsDisplayed()
}
when the text is usually from a strings.xml resources, which way should be used ? a hardcoded text (but it means a different tests for each language) ? or getting the strings through a context and pass it to methods ? What is the best way to get a context in the test then ?