NeoA11y / SpeakTouch

[WIP] A free software screen reader for Android.
8 stars 0 forks source link

Add local tests to project #47

Closed Irineu333 closed 8 months ago

Irineu333 commented 11 months ago

Study a way to automate testing.

Irineu333 commented 11 months ago

I was unsuccessful on my first attempt, the Android accessibility API is very difficult to test.

Irineu333 commented 9 months ago

I was able to add local tests using Robolectric to simulate the Android framework APIs.

PatrykMis commented 9 months ago

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.

Irineu333 commented 8 months ago

Interesting, I will use it for study, it can help in other tests.