LeoColman
12/09/2020, 3:51 AMalbertosh
12/09/2020, 2:19 PMalbertosh
12/09/2020, 2:19 PMeventually
https://github.com/kotest/kotest/blob/master/doc/nondeterministic.mdLeoColman
12/09/2020, 8:23 PMLeoColman
12/09/2020, 8:23 PMeventually(3.seconds) { }
blockalbertosh
12/10/2020, 7:43 AMeventually
Since I explained myself pretty bad (sorry 😅) probably a snippet is better, something like
class MyTests : FunSpec({
test("overriden") {
...
}
override fun test(x: String, body: () -> Unit) {
eventually(3.seconds) { super.test(x, body)
}
})
I don’t have an open IDE, so it may have some compilation errorsalbertosh
12/10/2020, 7:44 AM