Testing with JUnit 5 for Android.
After more than two years, here is a new version of the instrumentation artifacts! We welcome two new artifacts to the family, android-test-compose
and android-test-extensions
. Here is the full list of notable changes in this version:
android-test-compose
artifact with support for testing composable functions with JUnit 5 (#234)android-test-extensions
artifact with optional extensions, starting with a port of JUnit 4's GrantPermissionRule
(#251)This release of the Gradle plugin brings compatibility with JUnit 5.10.0 and includes the following changes:
This release of the Gradle plugin brings compatibility with JUnit 5.9.3.
Since this version is released very shortly after its predecessor, please keep in mind that version's repercussions as well when upgrading your plugin: From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the 1.8.x.y plugin line.
This release of the Gradle plugin brings compatibility with JUnit 5.9.2.
Since this version is released very shortly after its predecessor, please keep in mind that version's repercussions as well when upgrading your plugin: From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the 1.8.x.y plugin line.
This release of the Gradle plugin brings compatibility with JUnit 5.9.1.
Since this version is released very shortly after its predecessor, please keep in mind that version's repercussions as well when upgrading your plugin: From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the 1.8.x.y plugin line.
This release of the Gradle plugin brings compatibility with JUnit 5.9.0, as well as several internal refactorings and improvements. From this version onwards, the minimum supported version of the Android Gradle Plugin is 7.0. Likewise, the minimum supported version of Gradle is 7.0. If you can't update to AGP 7.0 or newer yet, please stay on the previous release.
integrityCheckEnabled
flag for instrumentation tests (they are auto-configured if junit-jupiter-api is found on the androidTest
classpath)A patch release to improve compatibility with recent versions of Gradle and Kotlin.
destinationDir
compiler task property to support Kotlin 1.7.0 and beyond (#274)This release of the Gradle plugin brings compatibility with JUnit 5.8.2.
This release of the Gradle plugin brings compatibility with JUnit 5.8.1 and some internal restructuring around deprecated APIs to preent warnings on Gradle 7.0 and above.
Report.setEnabled
with Report.required.set
to remove deprecation warnings in Gradle 7+ (CC @gmarques33, #260)This release of the instrumentation libraries requires JUnit 5.8.0 or newer. Please check your dependency declarations!
core
and runner
modules to 100% Kotlin