I’m seeing a test isolation issue in my Kotlin Mul...
# multiplatform
y
I’m seeing a test isolation issue in my Kotlin Multiplatform project with iOS targets. Tests pass when run individually but fail when run as part of the full suite, has anyone faced this before? more info in 🧵
The Issue: • Running a single test: ./gradlew moduletestDebugUnitTest --tests "package.TestClass.testMethod" → PASSES • Running all tests: ./gradlew moduletestDebugUnitTest → 670 tests FAIL The problem appears when testing iOS-related functionality, though the error comes from Android test execution
o
Are you sharing mutable state across test?
y
No i am not
o
Or accessing any global (mutable) state like a
Main
dispatcher?
y
not really, to be honest i think its a setup issue, my coworker dosent run into this issue, but i cant reach him due to some issues i may be wrong
o
OK, these were just some wild guesses. Hope you'll find out the root cause.
thank you color 1