Trey T
|
74adaab6df
|
P0.2: Android test infrastructure (TDD foundation)
- Add androidUnitTest source set: JUnit 4, Robolectric 4.14.1, mockk, androidx.test
- Add androidInstrumentedTest source set: androidx.test.ext, espresso, mockk-android
- Pin Robolectric to SDK 34 (Robolectric 4.14.1 doesn't yet support compileSdk 36)
- Enable includeAndroidResources for Robolectric
- Canary tests green on both source sets
Verifies:
./gradlew :composeApp:testDebugUnitTest
./gradlew :composeApp:compileDebugAndroidTestSources
Part of Android -> iOS parity plan (rc-android-ios-parity.md).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-18 12:25:50 -05:00 |
|