Problems when include Koin for testing #1389
Unanswered
joseluisgs
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm not sure if my requirements are the same as yours, but these deps seem to be working for me: testImplementation(kotlin("test-junit"))
testImplementation("junit:junit:4.13.2")
val koinVersion = "3.2.0"
implementation("io.insert-koin:koin-core:$koinVersion")
testImplementation("io.insert-koin:koin-test:$koinVersion")
testImplementation("io.insert-koin:koin-test-junit4:$koinVersion")
testImplementation("org.mockito:mockito-inline:4.6.1") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am usin Koin en JVM app, without problem, but I would like to use Koin for testing
In my Gradle
val kotlinVersion: String = "1.7.10"
val koinVersion: String = "3.2.0"
kotlin("jvm") version "1.7.10"
implementation("io.insert-koin:koin-core:$koinVersion")
testImplementation(kotlin("test"))
testImplementation("io.insert-koin:koin-test:$koinVersion")
But when I try to run the test
Could you help me?
Beta Was this translation helpful? Give feedback.
All reactions