Writing DTV Weather App using Android Architecture Components, in 100% Kotlin, using Android Jetpack Components ๐
- Add
MAP_KEY
to yourlocal.properties
file - Paste your open weather API key to
API_KEY
onConstants Class Object
Run script .\gradlew connectedCheck
to generate Unit test Jacoco Reports
Run script .\gradlew connectedDebugAndroidTest
to generate Instrumented test Jacoco Reports
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.
When mocking webserver response MockWebserver times out for some reason i.e socket timeout exception
-
Technologies used
-
Architecture
- MVVM - Model View View Model
-
Tests
-
Gradle
-
CI/CD
- Github Actions
I added some screenshots in the screenshots
folder, in the root directory of the project.
Current Weather | Favourites | Maps |
---|---|---|