Another thing is, how do you set DI for tests? With Koin before every test we start the whole DI where it prepare all modules and after the test we close it. How about Kodein? Is there any way to clean the graph between tests?
s
salomonbrys
11/05/2020, 12:43 PM
Koin uses a global context, which we discourage.
You don't need to clean the container, just create a new one for each test.