Writing Hilt Example App using Android Architecture Components, in 100% Kotlin, using Android Jetpack Components:
- Use the JSON Placeholder API documented here: https://jsonplaceholder.typicode.com/posts
This allows us to easily define specifications in a clear, understandable, human-readable way. This framework allows you to describe tests and expected behaviors in a more readable way.
To run tests in Android Studio you need to install Spek Framework plugin (search for Spek Framework).
The UI test run normally, either on a device or an emulator, without any special plugin or dependency.
-
Technologies used
-
Architecture
- MVVM - Model View View Model
-
Tests
-
Gradle
-
CI/CD
- Github Actions
I added some screenshots as shown:
Main |
---|