testing-samples icon indicating copy to clipboard operation
testing-samples copied to clipboard

A collection of samples demonstrating different frameworks and techniques for automated testing

Results 104 testing-samples issues
Sort by recently updated
recently updated
newest added

CI: https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/2004#018eb729-09ee-465a-8cd0-81dda91b3bfb Platform: Ubuntu Logs: ``` ERROR: /var/lib/buildkite-agent/builds/bk-docker-2fzt/bazel-org-repo-root/android-testing/ui/espresso/IntentsBasicSample/BUILD.bazel:65:2: name 'android_instrumentation_test' is not defined ERROR: package contains errors: ui/espresso/IntentsBasicSample ERROR: Skipping '//...': Error evaluating '//...': error loading package 'ui/espresso/AccessibilitySample': Package 'ui/espresso/AccessibilitySample'...

Included a test to check onDevice actions and a GMD definition. It works on a regular emulator (Pixel Fold, API 34), but not from GMD (`./gradlew foldApi34DebugAndroidTest`) ``` com.example.android.testing.espresso.EspressoDeviceSample.OnDeviceTest >...

I'm working with this code: ``` @RunWith(AndroidJUnit4ClassRunner::class) class FiltersFragmentTest { @Test fun fragmentIsVisible() { val scenario = launchFragmentInContainer() scenario.recreate() Espresso .onView(ViewMatchers.withId(R.id.jvQuery)) .check(matches(isDisplayed())) } } ``` The FiltersFragment class inherits from...

If I run ./gradlew nexusOneApi30DebugAndroidTest -Pandroid.experimental.androidTest.numManagedDeviceShards=2 I see the following in the terminal: > Task :app:nexusOneApi30DebugAndroidTest Starting 4 tests on nexusOneApi30_0 Starting 2 tests on nexusOneApi30_1 And then in the...

https://github.com/android/testing-samples/tree/main

just want instrumentation app can minify