February 3, 2025

Bug Fixes * Fix Rect handling in ViewCapture for SDK >= 34 for non root views. * Fix bug reporting the status code when PixelCopy fails in ViewCapture.generateBitmapFromPixelCopy. * Improving wording of a failure message.

API Changes

  • Update to minSdkVersion 21

The following artifacts were released:

  • androidx.test.espresso:espresso-accessibility:3.7.0-alpha01
  • androidx.test.espresso:espresso-core:3.7.0-alpha01
  • androidx.test.espresso:espresso-contrib:3.7.0-alpha01
  • androidx.test.espresso:espresso-idling-resource:3.7.0-alpha01
  • androidx.test.espresso:espresso-intents:3.7.0-alpha01
  • androidx.test.espresso:espresso-remote:3.7.0-alpha01
  • androidx.test.espresso:espresso-web:3.7.0-alpha01
  • androidx.test.espresso.idling:idling-concurrent:3.7.0-alpha01
  • androidx.test.espresso.idling:idling-net:3.7.0-alpha01

Bug Fixes

  • Fix deadlock in espresso in Robolectric INSTRUMENTATION_TEST + paused looper.
  • Refactor espresso's MessageQueue access into a TestLooperManagerCompat class, and use new TestLooperManager APIs when available.

API Changes

  • Update to minSdkVersion 21

Bug Fixes

  • Add support for setting screen orientation with multiple resumed activities
  • Fix concurrent modification issue when setting screen orientation and fold modes
  • Adjust reference docs to state set up guide is now located at https://developer.android.com/studio/test/espresso-api#set_up_your_project_for_the_espresso_device_api

API Changes * Update WidthSizeClass and HeightSizeClass to use androidx.window size classes * Update to minSdkVersion 21

API Changes

  • Update to minSdkVersion 21
  • Make ReflectionException a RuntimeException

Bug Fixes

  • Exceptions during @AfterClass were not being reported via InstrumentationResultPrinter.
  • Exceptions arising in AndroidJUnitRunner.buildRequest are now handled.
  • Assumption failures during a ClassRule or BeforeClass are now reported more consistently via InstrumentationResultPrinter
  • Clarify SdkSuppress reference docs

API Changes

  • Update to minSdkVersion 21
  • Deprecate androidx.test.filters.Suppress in favor of org.junit.Ignore

Bug Fixes

  • The obsolete FileObserver protocol has been removed in favor of the LocalSocket-based protocol.