There are many guidelines/examples about MVP as well as Android Architecture, but not many of them have a view on how to put everything together.
In this small sample I demo how MVP implemented with:
- Unit Test
- Automation test
- Dagger 2
- RxJava
- AutoValue
I chose Apprium as Automation test framework, in this example you will see that Automation will automatically get apk to run automation, also with this approach you have fully end to end CI enabled with gradle commands
- Run
./gradlew assembleAutomationDebug
- cd to acceptance
- Run
./gradlew testDebugUnitTest
- Add more advance Dagger 2 implementation
- More Rxjava
- Improve automation test with BDD and Page Object