Philipp Nowak
10/27/2025, 7:34 AMisIncludeAndroidResources = false and failOnNoDiscoveredTests = false do not seem to work, I still get the same error
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.
Upgrading AGP to an alpha 9.x is no option for us atm. Did anyone solve this problem?Philipp Nowak
10/27/2025, 7:41 AMfailOnNoDiscoveredTests=false works when applied for a single module, I might do something wrong when trying to apply it to all modules via root build.gradle. Anyways, this just ignores the error and tests are not executed, so this is not an option.
android {
testOptions {
unitTests {
isIncludeAndroidResources = false
}
}
}
doesn't seem to make any difference.Vampire
10/27/2025, 7:49 AMVampire
10/27/2025, 7:51 AMPhilipp Nowak
10/27/2025, 7:56 AMPhilipp Nowak
10/27/2025, 8:07 AMde.mannodermaus.android-junit5 plugin. Interesting, that this only kicks in when upgrading Gradle, no problem before.
Thank you for clarifying this topic Björn! 🙂Vampire
10/27/2025, 10:57 AM