James Richardson
01/02/2020, 6:35 PMAdam Hurwitz
01/02/2020, 8:58 PMstatic
methods in my article post thread above. I'll take a look at avoiding this library method from being called to begin with.
I will look into the Singleton
point more.
I see there is one thread here on the topic: https://stackoverflow.com/questions/8256989/singleton-and-unit-testingBen Abramovitch
01/02/2020, 9:22 PMAdam Hurwitz
01/02/2020, 9:40 PMJames Richardson
01/02/2020, 11:04 PMBen Abramovitch
01/02/2020, 11:06 PMunloadKoinModules()
For each test which would then return a new single instance the next time the test is run, but it might do this automatically as well (I'm new to koin testing) . I imagine that's what the stopKoin call actually does in a test.James Richardson
01/02/2020, 11:07 PMDaniel
01/02/2020, 11:31 PMAdam Hurwitz
01/03/2020, 3:31 AM