Releases: mannodermaus/android-junit5
Plugin 1.6.2.0
Added
- JUnit 5.6.2
Plugin 1.6.1.0
Added
- Compatibility with Android Gradle Plugin 4.1.x
- JUnit 5.6.1
Changed
- Restricted visibility of internal APIs to prevent them from leaking into consumer code
Gradle Plugin 1.6.0.0
This release of the android-junit5 Gradle Plugin brings compatibility with JUnit 5.6.0.
An important note for upgraders: From this point onwards, android-junit5 requires at least Android Gradle Plugin 3.5.0 and Gradle 6.1.1. This is a substantial upgrade in minimum requirements which hopefully allows for trimming down old workarounds on antiquated versions.
Instrumentation 1.2.0
This release of the instrumentation test libraries brings some QOL improvements for working with Android tests using JUnit 5!
Added
- Conditional test execution: Control the execution of tests dynamically; constrain tests to run only when certain conditions are met. This includes support for most of the annotations provided by the main JUnit Jupier API, as well as some custom ones specifically for Android development! Check out the wiki for more information.
Fixed
- Execution of individual instrumentation tests works now
- Reporting of instrumentation tests uses improved naming schemes, preventing "mangled test names", esp. for parameterized and other non-default tests
Removed
- The source for the old & deprecated instrumentation artifacts (
android-instrumentation-test
andandroid-instrumentation-test-runner
) have been removed. Please upgrade toandroid-test-core
andandroid-test-runner
, respectively. More info on the wiki!
Gradle Plugin 1.5.2.0
This release of the android-junit5 Gradle Plugin brings compatibility with JUnit 5.5.2.
Gradle Plugin 1.5.1.0
This release of the android-junit5 Gradle Plugin brings compatibility with JUnit 5.5.1.
Fixed
- Compatibility for the latest iterations of AGP 3.6.x (#180)
Gradle Plugin 1.5.0.0
This release of the android-junit5 Gradle Plugin brings compatibility with JUnit 5.5.0.
Added
- Integrity checks for users including instrumentation tests into their project. An error will be thrown on incomplete setup of the instrumentation test environment. To disable the check, use the
junitPlatform.instrumentationTests.integrityCheckEnabled
API - Added Gradle tasks to generate resource files for filter configurations in instrumentation tests (support
@Tag
filters in instrumentation tests)
Changed
- Use Dokka for platform-agnostic generation of documentation files
Removed
- Marked
junitPlatform.instrumentationTests.enabled
andjunitPlatform.instrumentationTests.version
as deprecated, as they don't do anything anymore - they are scheduled for removal in 1.6.0.0
Instrumentation 1.1.0
This version of the instrumentation libraries allows filtering support with @Tag
for instrumentation tests! 🎉
Added
- Added support for
@Tag
filtering in androidTest methods & classes; this requires using Gradle Plugin1.5.0.0
or newer to work!
Changed
- Replaced
RunnerBuilder
implementation for JUnit 5 to be less dependent on theJUnitPlatform
Runner
Gradle Plugin 1.4.2.1
This version of the JUnit 5 plugin for Android fixes the compatibility with the latest versions of the Android Gradle Plugin, including the preview releases for 3.5 and 3.6.
Gradle Plugin 1.4.2.0
This release brings the compatibility to JUnit 5.4.2.