Testing Data Layer

This commit is contained in:
2021-09-09 03:19:03 +02:00
parent 9684c96610
commit 5ddccb03a8
18 changed files with 443 additions and 19 deletions
+2
View File
@@ -36,6 +36,8 @@ dependencies {
api(platform(Libs.kotlin_coroutine_bom))
api(Libs.kotlin_coroutine_core)
testImplementation(Libs.kotlin_coroutine_test)
api(Libs.ktor_client_core)
api(Libs.ktor_serialization)
@@ -1,18 +0,0 @@
package com.ericampire.android.androidstudycase.domain
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}