ui/espresso/EspressoDeviceSample/README.md
The Espresso Device API enables synchronized interactions with the test device. This API is experimental and subject to change. Currently, it is only supported on instrumentation tests run on emulators.
To skip tests on devices that do not have certain display attributes, such as display width and height, annotate your test with @RequiresDisplay. This annotation takes in a WidthSizeClassEnum and a HeightSizeClassEnum. It can be applied to test classes or test methods. For details on these size classes, see https://developer.android.com/guide/topics/large-screens/support-different-screen-sizes.
This project uses the Gradle build system. You don't need an IDE to build and execute it but Android Studio 3.4 is recommended.
git clone../build.gradle file.src/main/javasrc/androidTest/javasrc/test/javaapp moduleIf you are using Android Studio, the Run window will show the test results.