Still a noob to testing coroutines even though I l...
# coroutines
c
Still a noob to testing coroutines even though I lurk here frequently. There used to be some coroutine test method that was pretty widely used/recommended but now it's not anymore? or maybe its just an anti-pattern now, but I can't remember. Is
runTest
the bad one? Or maybe it was some TestDispatcher that used to be recc but not anymore? (another way of asking the question is... what is the modern way to run tests that involves coroutines and what apis should i STAY AWAY from?)
p
The new api is runTest from kotlinx.coroutines.test
j
runBlockingTest was the bad one
Should have been named runBrokenTest
😂 8