This project is a bare-bones example of how to structure an Android project in order to practice TDD using Robolectric and a Gradle build.
| app/ | a bare-bones Android app |
| unitTest/ | the unit tests that utilize Robolectric |
The app module was generated with Android Studio 0.4.4. It only differs from the default settings by selecting SDK versions to support only the Android 4.x releases.
The unitTest module was created to make it possible to execute the tests with either the
gradle test task or the Android Studio JUnit runner. See the README in that module for more
details.