Skip to content

Commit

Permalink
Created readme with basic details
Browse files Browse the repository at this point in the history
Created readme with basic details
  • Loading branch information
sreeharikv112 committed Dec 20, 2019
1 parent f2e29bb commit f925983
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Clean Code Architecture + MVVM + Testing

Source code of [Medium Article](https://medium.com/@sreeharikv112/android-unit-testing-clean-code-architecture-with-mvvm-73eb2992cab7) which describes Android Unit Testing Clean Code Architecture with MVVM.


## Architecture followed

![ArchDiagram1](https://user-images.githubusercontent.com/39777674/71248284-78d00800-2340-11ea-9077-080e29a8c918.png)

<br>

## The article explains


- Ways to include dependencies using Koin
- Making usefull data flow using above architecture
- Creating unit test case with dependencies
- Override the default dependencies
- Mock required dependency and create required test cases

<br>

## Main libraries included

- Coroutines https://developer.android.com/kotlin/coroutines

- Retrofit https://square.github.io/retrofit/

- MockWebServer https://github.com/square/okhttp/tree/master/mockwebserver

- Koin (💉Dipendency Injection) https://insert-koin.io/

- Kotlin (https://developer.android.com/kotlin)

## Uses Swapi API for explaining required data flow

Uses https://swapi.co/ API as network end points.

The complete API documentation detail can be found over https://swapi.co/documentation

0 comments on commit f925983

Please sign in to comment.