Hi. Does anyone know how to correctly set up kotes...
# kotest
j
Hi. Does anyone know how to correctly set up kotest for a KMP project so that kotest picks up specs in the
androidUnitTest
source folder. Set up described here https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-run-tests.html#for-android. Right now kotest doesn’t notice those tests when it does a scan so no tests are run but it does pick up the commonTest specs.
This is the error i keep getting trying to run an individual test:
No matching tests found in any candidate test task.
Requested tests:
Test pattern com.mypackage.EventBusTest in task :testDebugUnitTest
d
@Justin Tullgren Did you fix somehow ? I have same problem
j
I remember it being a configuration issue and some version mismatches with transitive dependencies. Since going to kotest 6 and latest gradle and Kotlin we have not seen the issue.
d
It appears only on the iOS target
j
Sorry I did not see any issue with the iOS target only with android.
👍🏻 1