Trying to use KoinTest for instrumented compose te...
# koin
m
Trying to use KoinTest for instrumented compose tests. My test class implements KoinTest and I use KoinTestRule
Copy code
@get:Rule
val koinTestRule = KoinTestRule.create {
    modules(module)
}
and stopKoin @After
Copy code
@After
fun stopKoin() {
    stopKoin()
}
however the very first test that is run fails with
java.lang.IllegalStateException: No Koin application found
but the following tests run just fine. What could be the reason for this? 😞
a
What version do you use?
m
3.1.1, however I upgraded because on 3.1.0 I had a similar issue but not the same error I dont remember the wording exactly, but something along the lines of `_`scope being closed. (Also only on the first test)