dave08
10/16/2025, 9:50 AMExecution failed for task ':player:testAndroidHostTest'.
> There are test sources present and no filters are applied, but the test task did not discover any tests to execute. This is likely due to a misconfiguration. Please check your test configuration. If this is not a misconfiguration, this error can be disabled by setting the 'failOnNoDiscoveredTests' property to false.
when running the gradle testAndroidHostTest, but when running from the ide, I get:
Cannot locate tasks that match ':player:cleanTestDebugUnitTest' as task 'cleanTestDebugUnitTest' not found in project ':player'.
any ideas why this isn't working @Oliver.O? Thanks!Oliver.O
10/16/2025, 9:58 AMcom.android.application or com.android.kotlin.multiplatform.library?
Which version?dave08
10/16/2025, 9:58 AMdave08
10/16/2025, 9:59 AM"8.12.3"Oliver.O
10/16/2025, 10:03 AMdave08
10/16/2025, 10:05 AMdave08
10/16/2025, 10:06 AMTask playertestAndroidHostTest FAILEDFAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'playertestAndroidHostTest'.
There are test sources present and no filters are applied, but the test task did not discover any tests to execute. This is likely due to a misconfiguration. Please check your test configuration. If this is not a misconfiguration, this error can be disabled by setting the 'failOnNoDiscoveredTests' property to false.
Oliver.O
10/16/2025, 10:07 AMdave08
10/16/2025, 10:08 AM1.gradlew --no-build-cache testAndroidHostTest
2. [OK] 8 tests completed, 4 failed
but by me, I got that error what do you recommend I do? Is this only a problem with test balloon?
Oliver.O
10/16/2025, 10:10 AMdave08
10/16/2025, 10:15 AMThere are test sources present and no filters are applied, but the test task did not discover any tests to execute. This is likely due to a misconfiguration. Please check your test configuration. If this is not a misconfiguration, this error can be disabled by setting the 'failOnNoDiscoveredTests' property to false.
dave08
10/16/2025, 10:16 AMOliver.O
10/16/2025, 10:18 AMnamed("androidHostTest") {
dependencies {
// WORKAROUND: See examples/multiplatform-library-with-android/README.md
if (project.findProperty("local.androidHostTestDance") != "removeDependency") {
implementation("de.infix.testBalloon:testBalloon-framework-core-jvm:${testBalloonVersion}")
}
}
}dave08
10/16/2025, 10:22 AMgetByName("androidHostTest") {
dependencies {
if (project.findProperty("local.androidHostTestDance") != "removeDependency") {
implementation(libs.testBalloon.core)
}
implementation(libs.turbine)
implementation(kotlin("test"))
}
}
?dave08
10/16/2025, 10:22 AMOliver.O
10/16/2025, 10:24 AMdave08
10/16/2025, 11:38 AMdave08
10/16/2025, 11:51 AMdave08
10/16/2025, 11:51 AMdave08
10/16/2025, 12:04 PMdave08
10/16/2025, 12:05 PMdave08
10/16/2025, 12:16 PMOliver.O
10/21/2025, 1:35 PM