Added unit tests for easy-to-test utils
Also includes some small changes, fixes, and comments here and there.
I still need to figure out how to write tests for the UI, but hopefully this helps a little.
I got some examples on how to test the UI in my benchmarks pr, but UiAutomator2 is not 100% reliable though
Awesome, I'll check out that branch and try running your examples while I'm at it.
They are not unit tests though but its the same way you can do Ui testing through UiAutomator2
Mark this as ready to review, when its good to go.
I think he is gonna add those others tests in a different pr and this is ready
This also needs the gradle tests to be added to our .woodpecker.yml file.
Add a separate CI step containing ./gradlew testDebug
Woodpecker config added and tests pass. I'm going to look into UI tests in a bit, but not as part of this PR.