https://kotlinlang.org logo
#coroutines
Title
# coroutines
p

PHondogo

03/18/2020, 7:53 PM
Hello! Is there any possibility to run test in supend test function?
Copy code
class Test{
  @Test
  suspend test() {
    // test logic with suspend calls
  }
}
j

Joffrey

04/28/2020, 7:21 PM
On JVM you can use that library indeed. Otherwise, this is not supported yet, but you can upvote the issue here: https://youtrack.jetbrains.com/issue/KT-22228 There is also a workaround there.
2 Views