I'm working on an implementation of a Junit5 ParameterResolver that will enable injecting of koin-managed instances into tests, similar to how koin manages injection elsewhere
For example:
Copy code
@ExtendsWith(ThisNewKoinExtension::class)
class MyIntegrationTest(
val someService: Service,
val someRepository: SomeRepositoryInterface
) {
// tests as usual
}
I have the bootstraps of it working well. Working on some tests for it now
@arnaud.giuliani this something you're open to including? I'd prefer to keep it separate to the existing ParameterResolver we have, as that overloads the start/stoping of koin