
The testing pyramid looks like this and won't probably last as long as the ones in Egypt:
GITHUB ACTIONS GRADLE ANDROID
Unfortunately there is a common anti-pattern in the Android world where not enough emphasis is put on the unit tests. This is why the recommended strategy is to have a testing pyramid where the emphasis is put on writing a lot of fast simple unit tests: Unit tests are fast, easier to write and lead faster to the discovery and fix of the bug when they fail. Something to keep in mind if you have an Android project is that my workflow allows you to run the unit tests on GitHub, but not the integration tests / automated GUI tests also called Android instrumentation tests. Read the docs about the Gradle Command ActionĪ problem I encountered in the DEV-Android app is that it had very few unit tests To know more about creating your own Gradle tasks, follow the gentle tutorial at



you register a new task called runOnGitHub.Enter fullscreen mode Exit fullscreen mode
