Closed Irineu333 closed 8 months ago
I was unsuccessful on my first attempt, the Android accessibility API is very difficult to test.
I was able to add local tests using Robolectric to simulate the Android framework APIs.
Robolectic seams to be the most reasonable approach. Here we have TalkBack tests which were using similar approach past days: https://github.com/google/talkback/tree/12bdf2063e121a021f050c94cf5ebb2489c8af8a/src/test/java/com/android/talkback.
Interesting, I will use it for study, it can help in other tests.
Study a way to automate testing.