Sample Android project of a Blendle client.
The client will load automatically the most popular articles from Blendle API, which can be found here: https://static.blendle.nl/api.json
The code demostrates how to use together multiple design patterns, libraries, automated tests on the Java virtual machine and on the UI using Espresso.
- RxJava
- Retrofit, OkHttp and MockWebServer
- Gson
- Halarious
- AutoValue
- Realm database
- Dagger
- Picasso
- PicassoPalette
- Mockito
- DaggerMock
- Espresso
- Timber
- Model view presenter
- Dependency inversion and dependency injection
- Continuous integration
- Page Object Pattern
Application's apk can be directly downloaded from here.
Open the project in Android Studio and select the gradle task 'installDebug' or simply press the Run button.
To run all the tests from the command line execute ./gradlew check connectedCheck
from the project's folder.
Note: Make sure to connect a phone to the computer or start an emulator before running the tests.
Builds are triggered and automatically built on every commit to git repository, executing all unit and instrumentation tests. Build history and reports can be accessed here: https://travis-ci.org/sebaslogen/Blendletje/builds
This content is released under the MIT License: http://opensource.org/licenses/MIT