What problem does it solve?
It resolves the confusion and build/run failures caused by misplacing Android tests into the wrong source sets or Gradle configurations, especially around src/test/ vs src/androidTest/, src/sharedTest/, and the AGP 7.2+ Compose-style androidHostTest / androidDeviceTest split.
Core Features & Use Cases
- Source set decisioning: Chooses the correct location for JVM host tests (
src/test/) vs instrumented device tests (src/androidTest/) based on the user’s test type.
- Gradle configuration mapping: Ensures the right dependency scope is used for each source set, including
testImplementation, androidTestImplementation, and when debugImplementation is required for test manifests.
- AGP 7.2+ migration guidance: Explains why
src/sharedTest/ source-set sharing breaks and outlines safer alternatives such as splitting into sub-modules or using KMP-style androidHostTest / androidDeviceTest layouts.
Quick Start
Use the organizing-test-source-sets skill to tell me where my test should live and which Gradle dependencies it should use when I’m moving from src/sharedTest to androidHostTest/androidDeviceTest after AGP 7.2.