Skip to content

Commit

Permalink
Merge pull request #17 from ndiritumichael/E2E
Browse files Browse the repository at this point in the history
End to End Test
  • Loading branch information
ndiritumichael authored Oct 14, 2024
2 parents 4e3ea9f + 0c5d7c8 commit 167410c
Show file tree
Hide file tree
Showing 40 changed files with 1,205 additions and 101 deletions.
221 changes: 221 additions & 0 deletions .idea/androidTestResultsUserPreferences.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/detekt.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/studiobot.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ android {
buildConfigField("String", "GITHUBCLIENTKEY", "\"$githubClientKey\"")
buildConfigField("String", "GITHUBSECRET", "\"$githubSecret\"")
buildConfigField("String", "SENTRYDSN", "\"$sentryDsn\"")

testInstrumentationRunner = "com.devmike.gitissuesmobile.CustomTestRunner"
}

testOptions {
packaging {
jniLibs {
useLegacyPackaging = true
}
resources.excludes.add("META-INF/*")
}
}
buildFeatures {
buildConfig = true
Expand All @@ -50,9 +61,24 @@ dependencies {
implementation(projects.core.domain)
implementation(libs.firebase.crashlytics)
implementation(libs.firebase.analytics)
implementation(libs.androidx.core.splashscreen)
// For Robolectric tests.
testImplementation(libs.hilt.android.testing)
androidTestImplementation(libs.hilt.android.testing)
kspAndroidTest(libs.hilt.compiler)
kspTest(libs.hilt.compiler)

testImplementation(libs.androidx.test.ext)

testImplementation(libs.androidx.arch.core.testing)
testImplementation(libs.kotlinx.coroutines.test)
testImplementation(libs.core.ktx)
testImplementation(libs.truth)
testImplementation(libs.robolectric)
debugImplementation(libs.ui.tooling)
debugImplementation(libs.androidx.compose.ui.ui.test.manifest)
testImplementation(projects.core.testing)
androidTestImplementation(projects.core.testing)
}

sentry {
Expand Down
Loading

0 comments on commit 167410c

Please sign in to comment.