android-test
android-test copied to clipboard
An extensive framework for testing Android apps
Remove spurious wait in waitForAtLeastOneActivityToBeResumed.
Skip starting and finish animations for the empty activity used in ActivityScenario. This should speed up performance in cases where system animations are not disabled. Fixes #411
Skip launching an empty activity on ActivityScenario#finish for API >= 27 ActivityScenario would previously launch an empty activity twice during finish, as a workaround to ensure the Android framework invoked...
Now `TestRequestBuilder.CustomFilters` does not evaluate `@CustomFilter` on test classes, just on tests. It will be great to have evaluation also for classes. Because of this missing feature, I need to...
### Description As the title says, `ViewActions.swipeRight` doesn't work on devices with API >= 32 when called on `ViewPager2`. Calling a `swipeRight` on a `ViewPager2` triggers a back instead of...
### Description I recently switched a test suite from API 30 to API 34 devices and I'm witnessing occasional fails (roughly 1 in 5 times across ~300 tests) in tests...
DataBinding uses different approach to schedule an update, it uses Choreographer.postFrameCallback. So updates are not posted into looper queue and Espresso will not wait for them. See: https://stackoverflow.com/questions/40703567/how-do-i-make-espresso-wait-until-data-binding-has-updated-the-view-with-the-dat
This matches the behavior on API 23 and newer. ### Background We have a custom `androidTestUtil` APK that backports `UiConnection.executeShellCommand` to Kitkat. It's AOSP-signed so it works in AVD, which...
### Overview ### Proposed Changes just added comments to check push/pull
### Description Currently, androidx.test doesn't bundle in sufficient proguard rules, which makes testing with minification difficult, especially in self-instrumenting tests which otherwise don't suffer from the test apk / app...