Skip to content

AndroidX Test 1.3.1-alpha01

Pre-release
Pre-release
Compare
Choose a tag to compare

October 15, 2020

This is the alpha release of AndroidX Test 1.3.1. New APIs are subject to change.
It contains updates to the following libraries:

  • Core 1.3.1-alpha01
  • Espresso 3.4.0-alpha01
  • Intents 3.4.0-alpha01
  • JUnit 1.1.3-alpha01
  • Monitor 1.3.1-alpha01
  • Orchestrator 1.3.1-alpha01
  • Runner 1.3.1-alpha01
  • Rules 1.3.1-alpha01
  • Truth 1.3.1-alpha01
  • Test Services 1.3.1-alpha01

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

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
  • Espresso: Improve error messaging when no activity is present
  • Improve Instrumentation#runOnMainSync exception error handling
  • Add package visibility entries for Orchestrator and Services to fix Orchestator when using targetSdk 30 [#743]
  • 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