I'm working on an implementation of a Junit5 <http...
# koin-contributors
a
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
a
if you are interested, it can be interested that you write a small proposal via https://github.com/InsertKoinIO/KFIP/
a
Would you prefer a proposal, or a PR? The code is semi finished already
a
if it's not a fix, I need a bit more than just a PR. Explaining why you propose this, tests, impacts ...
the JUnit5 is not super up to date ^^
you might have some good feedback around it