We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
declareMock
beforeTest
Koin 3.5.6 Kotest 5.8.1 Koin-Kotest extension 1.3.0 Mockk 1.13.10
When I include the extension in my tests:
override fun extensions() = listOf( KoinExtension( module = testModule, mockProvider = { clazz -> mockkClass(clazz) }, mode = Root ) )
and try to declareMock in beforeTest
beforeTest { declareMock<MyDependency>() }
then, when running the test, I get "KoinApplication has not been started" exception.
I use isolationMode = InstancePerTest.
isolationMode = InstancePerTest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Koin 3.5.6
Kotest 5.8.1
Koin-Kotest extension 1.3.0
Mockk 1.13.10
When I include the extension in my tests:
and try to
declareMock
inbeforeTest
then, when running the test, I get "KoinApplication has not been started" exception.
I use
isolationMode = InstancePerTest
.The text was updated successfully, but these errors were encountered: