Releases: android/android-test
AndroidX Test 05.04.2023 release
This was an alpha release of the following AndroidX Test libraries:
See the links above for detailed release notes, and https://maven.google.com/ for release artifacts and source snapshots.
AndroidX Test 04.24.2023 release
This was an alpha release of the following AndroidX Test libraries:
See the links above for detailed release notes, and https://maven.google.com/ for release artifacts and source snapshots.
AndroidX Test Alpha Release 03.21.2023
This was an alpha release of the following AndroidX Test libraries:
- Test Annotation Version 1.1.0-alpha01
- Test Runner Version 1.6.0-alpha01
- Test Rules Version 1.6.0-alpha01
- Test Monitor Version 1.7.0-alpha01
- Test Espresso Version 3.6.0-alpha01
- Test Core Version 1.6.0-alpha01
- Test Ext JUnit Version 1.2.0-alpha01
- Test Ext Truth Version 1.6.0-alpha01
This is the first release built directly from GitHub source using bazel.
See the links above for detailed release notes, and https://maven.google.com/ for release artifacts and source snapshots.
AndroidX Test Alpha Release 04.28.2022
This was an alpha release of several AndroidX Test libraries.
See https://developer.android.com/jetpack/androidx/versions/alpha-channel#april_28_2022
Note this will be the last release tracked on github. Per https://github.com/android/android-test#releases see https://developer.android.com/jetpack/androidx/releases/test for release notes, and https://maven.google.com/ for release artifacts and source snapshots.
AndroidX Test Alpha Release 03.21.2022
Mar 21 2022
This was an alpha release of several AndroidX Test libraries.
See https://developer.android.com/jetpack/androidx/versions/alpha-channel#march_21_2022
Note this will be the last release tracked on github. Per https://github.com/android/android-test#releases see https://developer.android.com/jetpack/androidx/releases/test for release notes, and https://maven.google.com/ for release artifacts and source snapshots.
AndroidX Test Feb 11, 2022
Feb 11, 2022
This was an alpha release of several AndroidX Test libraries.
See https://developer.android.com/jetpack/androidx/versions/alpha-channel#february_11_2022
AndroidX Test 1.4.0/Espresso 3.4.0
June 30, 2021
This is the stable release of AndroidX Test 1.4.0 + Espresso 3.4.0.
It contains updates to the following libraries:
- Core 1.4.0
- Espresso 3.4.0
- Intents 3.4.0
- JUnit 1.1.3
- Monitor 1.4.0
- Orchestrator 1.4.0
- Runner 1.4.0
- Rules 1.4.0
- Truth 1.4.0
- Test Services 1.4.0
There are no changes since 1.4.0-rc01.
Here is a summary of the changes since the 1.3.0 release:
New Features
- Add Espresso ViewMatcher APIs for negative conditions
- Allow unregistering Loopers from Espresso IdlingRegistry
- Support specifying junit RunListeners via java.util.ServiceLoader
- Introduce Espresso BoundedDiagnosingMatcher base class API that offers better error messaging, and apply it to various Espresso matchers
- Support using UIThreadTest at the class level
- Several utility methods added to ext.truth's LocationSubject
- Add
SparseBooleanArraySubject
TruthSubject
for making assertions aboutSparseBooleanArray
.
Bug Fixes
- Improve handling for large stack traces on test failures [#729, #269]
- Remove test runner framework related stack frames
- Truncate stack traces to a max limit of 64KB, to avoid binder limit transaction errors
- Add support for classpath scanning test discovery for multidex instrumentation apks on android APIs < 21.
- Espresso: Improve error messaging when no activity is present
- Improve Instrumentation#runOnMainSync exception error handling
- Improve documentation for -e timeout_msec and AndroidJUnit4.
- Send ActivityOptions to BootstrapActivity [#685]
- Improve ViewMatchers#assertThat error messaging by enabling it to use Matcher.describeMismatch
- Fix the missing desugar ThrowableExtension errors when using espresso remote [issuetracker.google.com/170228109]
- Fix espresso web on < Android API 19 by including the androidx.test.espresso.web.bridge classes
- Unregister ActivityResultWaiter in InstrumentationActivityInvoker if it wasn't already unregistered
- Runner: Reduce TestEventClient 'not primary instr' log message to a warning, as its an expected condition in multi process tests
- Espresso: Update HasSiblingMatcher to only check siblings (not self).
- Fix artifact name for espresso.idling.resource [#809]
- Expose setMasterPolicyTimeoutWhenDebuggerAttached functionality [#814]
- Remove overly verbose ActivityLifecycleMonitorImpl callback logging.
Dependency Changes
- Update espresso.accessibility and espresso.contrib to depend on the androidx-compatible com.google.android.apps.common.testing.accessibility.framework:accessibility-test-framework:3.1. This release will thus require java8 source/target compatiblity.
[#492]
Known Issues
- Using orchestrator on APIS 30+ requires Studio/AGP 4.2+
AndroidX Test 1.4.0-rc01/Espresso 3.4.0-rc01
June 21, 2021
This is a release candidate of AndroidX Test 1.4.0/Espresso 3.4.0. APIs are stable.
It contains updates to the following libraries:
- Core 1.4.0-rc01
- Espresso 3.4.0-rc01
- Intents 3.4.0-rc01
- JUnit 1.1.3-rc01
- Monitor 1.4.0-rc01
- Orchestrator 1.4.0-rc01
- Runner 1.4.0-rc01
- Rules 1.4.0-rc01
- Truth 1.4.0-rc01
- Test Services 1.4.0-rc01
This release candidate is equivalent to the 1.4.0-beta02/3.4.0-beta02 release, aside from the version number.
AndroidX Test 1.4.0-beta02/Espresso 3.4.0-beta02
June 7, 2021
This is a beta release of AndroidX Test 1.4.0. APIs are not expected to change.
It contains updates to the following libraries:
- Core 1.4.0-beta02
- Espresso 3.4.0-beta02
- Intents 3.4.0-beta02
- JUnit 1.1.3-beta02
- Monitor 1.4.0-beta02
- Orchestrator 1.4.0-beta02
- Runner 1.4.0-beta02
- Rules 1.4.0-beta02
- Truth 1.4.0-beta02
- Test Services 1.4.0-beta02
Here is a summary of the changes since the 1.4.0-beta01 release:
Bug fixes
- Switch back to classic desugaring to address backwards compatiblity and core-library desugaring issues with beta-1 [Fixes #968 ]
AndroidX Test Sept 28 2021
Sept 28, 2021
This was an alpha release of several AndroidX Test libraries
See https://developer.android.com/jetpack/androidx/versions/alpha-channel#september_28_2021