android-test
android-test copied to clipboard
An extensive framework for testing Android apps
### Description I am trying for the first time to use `ActivityScenario.launch` in instrumented tests for a physical device. No matter what I do, I cannot get the tasks to...
A comment
Steps to reproduce: 1. Open attached project 2. Run ExampleInstrumentedTest couple of times, at least one test will fail eventually If you add Thread.Sleep to the test or remove setHasFixedSize(true),...
Espresso should allow to wait for a View or Fragment to appear (with a timeout). The "Idling system" makes a lot of assumptions about the implementation details of the app,...
### Overview ### Proposed Changes
### Overview Fixes #2132. Orchestrator has a fast path that skips test discovery if the test target is a single method. This doesn't work for parameterized tests, since even a...
### Description Orchestrator has a fast path that skips test discovery if the test target is a single method: https://github.com/android/android-test/blob/dd62f39c79bddbaa3b3c0aad2976ba635a5550ea/runner/android_test_orchestrator/java/androidx/test/orchestrator/AndroidTestOrchestrator.java#L259-L262 This doesn't work for parameterized tests, since even a single...
Internal FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/android/android-test/pull/2128 from android:settings_gradle f328a2482b0bb22118b25677be682caf1dc5f9f0
It currently takes ~50 seconds on each CI run to boot the emulator and save a snapshot. This commit saves the snapshot to a github action cache, to save the...