Skip to content

Instantly share code, notes, and snippets.

@OliverVicente
Last active February 10, 2025 21:58
Show Gist options
  • Select an option

  • Save OliverVicente/cc74db6a122e88ed0d87760273d20aad to your computer and use it in GitHub Desktop.

Select an option

Save OliverVicente/cc74db6a122e88ed0d87760273d20aad to your computer and use it in GitHub Desktop.
dependencies for jetpack compose navigation testing
dependencies {
// Specify compose BoM
val composeBom = platform("androidx.compose:compose-bom:2025.01.01")
implementation(composeBom)
androidTestImplementation(composeBom)
// Implement navigation and navigation testing
implementation("androidx.navigation:navigation-compose::2.8.6")
androidTestImplementation("androidx.navigation:navigation-testing:2.8.6")
// Implement junit and compose junit
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
// Add Kotlin test library
androidTestImplementation(kotlin("test"))
// Other dependencies
..
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment