Interview Coding Test

This is my coding test interview code for joining Arlib app

Project Structure

• 100% Kotlin Code 👌

• MVVM + ViewModel + LiveData + ViewBinding ❤️

• Repository Pattern 📦

• Jetpack Navigation component with SafeArgs 🚀

• Material Design ✨

• Room Persistence Library 💾

• Retrofit 2 🔗

• Kotlin Coroutines ⚙️

Demo

Alt Text

Libraries

EasyValidation for form validation

Retrofit 2 for network calls

klaxon library for parsing JSON

Room Database

Stetho debug bridge

Strikt assertion library

MockK: mocking library for Kotlin

JUnit for unit testing

Tests

1. Form Validation test
2. Room database test
3. Retrofit GET request test
4. Retrofit response status code test
5. Greeting message should conttain name test
6. Greeting message display the correct greeting based on time