testing-samples
testing-samples copied to clipboard
A collection of samples demonstrating different frameworks and techniques for automated testing
When ANDROID_TEST_ORCHESTRATOR is enabled . debugging of tests is not working . apart from that whenever failed tests leads to process crash an error message is shown saying that "Test...
I was receiving an error when importing the repo. `Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find lint-gradle-api.jar` It was fixed by swapping `google()` to be above `jcenter()` in the buildscript. ```...
The actual documentation is pretty poor: https://developer.android.com/reference/android/support/test/espresso/action/GeneralSwipeAction
android-testing/unit/BasicSample adds a listener like this: `mEmailText.addTextChangedListener(mEmailValidator);` And then on save it checks ``` if (!mEmailValidator.isValid()) { mEmailText.setError("Invalid email");} ``` Why not just have a simple utility class which will...
Hi, - The button is child of recycleview, - Text and id of button are same. So how could I get the button view with position 1 in recycleview ?...
Hi, When I run tests in BasicSample one of them (changeText_newActivity) is failing. ` android.support.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.example.android.testing.espresso.BasicSample:id/show_text_view View Hierarchy: +>DecorView{id=-1, visibility=VISIBLE, width=1366, height=681,...
I am new to android UI testing. I have `3 Activities(A,B,C)` in my project. `Activity A` has one button, on click of the button I open `B Activity` which has...
I want to use espresso classes outside of android test package. I added espresso with compile keyword into gradle file and I access espresso classes into normal app classes. But,...