fist test

This commit is contained in:
Rune Dyselinck 2023-05-15 15:11:50 +02:00
parent b53e3cdc5a
commit 522ecae87a
8 changed files with 135 additions and 12 deletions

View file

@ -65,6 +65,8 @@ dependencies {
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.compose.material:material:1.2.0'
implementation 'androidx.test.ext:junit-ktx:1.1.5'
implementation 'androidx.navigation:navigation-testing:2.5.3'
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
@ -96,13 +98,17 @@ dependencies {
// JUnit
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
// Coroutine testing
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4'
// Mocking
testImplementation 'org.mockito.kotlin:mockito-kotlin:3.2.0'
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito-inline:2.28.1'
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:3.2.0"
// Networking
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
@ -111,8 +117,6 @@ dependencies {
testImplementation 'androidx.arch.core:core-testing:2.1.0'
// GUI testing
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
//Firebase