<@U6RJ5A62E> <https://salomonbrys.github.io/Kodein...
# kodein
a
@rsredsq https://salomonbrys.github.io/Kodein/#_the_god_complex_one_true_kodein there is only one
Kodein.global
for all of your tests. So if you run tests in parallel, your
init
will be called in parallel and thus you access
Kodein.global
in parallel. That can lead to some nasty bugs. I'd argue that you should create an instance of
Kodein
inside your
MyApplication
and create a
MyAplication
for every test you run