The androidTest folder isn't recognized by Android Studio
I am picking up a project generated by Claude Code and I try to make the tests work. I have an issue with the tests of the app module. The androidTest folder isn't recognized as a test folder, there is no green indicator on it and there is no launch icon next to the tests. I have precised: testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" in the defaultConfig. I have also tried to set the sourcesets manually: sourceSets { named("test") { java.srcDirs("src/test/kotlin") } named("androidTest") { java.srcDirs("src/androidTest/kotlin") } getByName("androidTest") { kotlin.srcDir
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.