Skip to content

Instantly share code, notes, and snippets.

@Foxpace
Last active July 23, 2023 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Foxpace/3a72b7a8a324e4c78d4b47e0367e4a4b to your computer and use it in GitHub Desktop.
Save Foxpace/3a72b7a8a324e4c78d4b47e0367e4a4b to your computer and use it in GitHub Desktop.
Turbine test dependencies for unit testing
// core
testImplementation "junit:junit:4.13.2"
// for coroutine handling
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1"
// mockito for creating mocks and templates
testImplementation "org.mockito:mockito-core:5.3.1"
testImplementation "org.mockito.kotlin:mockito-kotlin:4.1.0"
// turbine for testing the flows
testImplementation 'app.cash.turbine:turbine:1.0.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment