android-test icon indicating copy to clipboard operation
android-test copied to clipboard

An extensive framework for testing Android apps

Results 273 android-test issues
Sort by recently updated
recently updated
newest added

Internal google build file change. Enable EspressoWithPausedTest to run in INSTRUMENTATION_TEST looper mode again inside google. It was previously disabled due to espresso bug.

Only drain main looper when it is paused. ControlledLooper.drainMainThreadUntilIdle was created so Robolectric can manually execute tasks when main looper is paused. Now with the introduction of INSTRUMENTATION_TEST looper mode...

### Overview ### Proposed Changes

Does `ScreenOrientationRule` need a `try` block around its statement evaluation? Current: ```kotlin val orientationToRestore = defaultOrientation ?: getCurrentOrientation() statement.evaluate() onDevice().perform(setScreenOrientation(orientationToRestore)) ``` Proposed: ```kotlin val orientationToRestore = defaultOrientation ?: getCurrentOrientation() try...

### Description Exception in the test runner ### Steps to Reproduce Generate a failure during a test ### Expected Results Test orchestrator generate the test report successfully ### Actual Results...

Adding a ShellCommandLocalSocketClient for the ShellExecutor to talk to the ShellMain.

Start publishing with Gradle metadata (.module files). At the moment androidx.test only pubishes with .pom files. By default gradle looks for .module files (https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html#sub:interactions-other-build-tools) so if they are not there...

I have a multi-module Android project with a dedicated e2e module for UI tests that applies the `com.android.test` plugin. The test sources live under the main source set (not `androidTest`)....

This stack comes up in failing chrome tests from time to time: ``` C 11:28:54.816 87.729s Main java.lang.AssertionError: Class was initialized on the UI thread, but current operation was performed...