https://kotlinlang.org logo
#announcements
Title
# announcements
r

raulraja

08/10/2017, 9:07 AM
n

napperley

08/10/2017, 9:48 PM
Does KotlinTest cover testing Kotlin Coroutines?
r

raulraja

08/10/2017, 10:26 PM
AFAIK it does not have special combinators for corutines but we use it extensively when testing our coroutines in Kategory. For example: https://github.com/kategory/kategory/blob/master/kategory/src/test/kotlin/kategory/data/OptionTest.kt#L108 Even in property based testing: https://github.com/kategory/kategory/blob/master/kategory/src/test/kotlin/kategory/laws/MonadLaws.kt#L57
👍 1
In those links
bind()
is a suspended function similar to
async/await
3 Views