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

dave08

12/25/2018, 4:51 PM
I think I have a better solution, I don't know why I didn't think of it first 🙃:
Copy code
fun AbstractDescribeSpec.DescribeScope.coIt(name: String, test: suspend TestContext.(CoroutineScope) -> Unit) =
		it(name) { runBlocking { test(this) }}
...