Hello! Is there a way to create `TestWatcher` or `...
# multiplatform
e
Hello! Is there a way to create
TestWatcher
or
TestRule
in
common
? I tried importing
kotlin("test")
,
kotlin("test-junit")
,
kotlin("test-junit4/5")
with no success. Thank you!
­čĹÇ 1
r
You can't use JUnit outside the JVM
e
Yes, but we have a few replacements inside the
kotlin.test
library. Do you know if we have any alternative to watcher and rule?
r
kotlin.test
has only 6 annotations, juste the basics
Test and Ignore, BeforeTest and AfterTest, BeforeClass and AfterClass. That's it.