You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow autoconfiguration of Compose integration via the plugin (#327)
It needs to detect an androidx.compose artifact in the androidTestImplementation
configuration for this to work, but from there it sets itself up automatically,
just like the main libraries do when they see junit-jupiter-api
At this time, Google hasn't shared any immediate plans to bring first-party support for JUnit 5 to Android. The following list is an aggregation of pending feature requests:
Copy file name to clipboardExpand all lines: plugin/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ Change Log
7
7
- Allow overriding the version of the instrumentation libraries applied with the plugin
8
8
- Update Jacoco & instrumentation test DSLs of the plugin to use Gradle Providers for their input parameters (e.g. `instrumentationTests.enabled.set(true)` instead of `instrumentationTests.enabled = true`)
9
9
- Removed deprecated `integrityCheckEnabled` flag from the plugin DSL's instrumentation test options
10
+
- Allow opt-in usage of extension library via the plugin's DSL
11
+
- Allow autoconfiguration of compose library if Compose is used in the androidTest dependency list
Copy file name to clipboardExpand all lines: plugin/android-junit5/src/main/kotlin/de/mannodermaus/gradle/plugins/junit5/internal/extensions/ProjectExt.kt
Copy file name to clipboardExpand all lines: plugin/android-junit5/src/test/kotlin/de/mannodermaus/gradle/plugins/junit5/plugin/InstrumentationSupportTests.kt
0 commit comments