New Project Using the 3AAA Approach Arrange, Act, Assert while using Mockito, Roboelectric for UnitTests and Espresso for Instrumentation Tests
In this project you can see how i used the 3AAA Aproach which is very helpfull when writing Android Tests or what ever tests you need You will find Test Classes with Roboelectric which makes a Shadow Class of your Activity pretty close to what Mockito does with the Mocked Class and Objects and see how they work and how to use them properly. You will even find how to write a Instrumental tests with Espresso and how to setup the project in the right way.
You will have to download the project and run it on your local machine.
All the build configs and flavors are added which are the default.
Everything you need in order to use this code is inside the project you may only need to update the gradle plugin and the libs.
AndroidStudio 2.0 it will be builded with Gradle.
- **Niki Izvorski ** - Initial work