Updates to unit tests

Added more units tests - room database test
Amended ui
Changed how recycler view loads data
This commit is contained in:
2020-11-20 15:34:17 +00:00
parent 28fa9fd258
commit 71968d39b8
27 changed files with 342 additions and 236 deletions

View File

@@ -70,6 +70,11 @@ dependencies {
implementation 'android.arch.core:core-testing'
androidTestImplementation 'androidx.test:rules:1.3.0-rc01'
// Mockk
def mockk_ver = "1.10.2"
testImplementation "io.mockk:mockk:$mockk_ver"
androidTestImplementation "io.mockk:mockk-android:$mockk_ver"
//Retrofit and GSON
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
@@ -96,4 +101,6 @@ dependencies {
// Circle Image View
implementation 'com.mikhaellopez:circularimageview:4.2.0'
// Latest version of JSONObject - needed to pass unit tests
testImplementation 'org.json:json:20180813'
}