Hi i'm trying an android compose UI test with rule...
# koin
p
Hi i'm trying an android compose UI test with rule that launch activity using declareMock but it's not seem working. The test use original object and not the mock. And no documentation with android compose activity rule
Using this :
Copy code
@get:Rule(order = 3)
    val composeTestRule = createAndroidComposeRule<MainActivity>()
to fix it i must not use rule createAnrdroidComposeRule, replaced with and now declareMock works fine :
Copy code
@Test
    fun myTest() = runAndroidComposeUiTest<MainActivity> {...}