Is `@BeforeTest` not implemented in Kotlin Native ...
# kotlin-native
t
Is
@BeforeTest
not implemented in Kotlin Native ? I get this error :
Copy code
> Task :native:compileKonanNative-testMacbook
/myproject/common/src/test/kotlin/GameTest.kt:10:6: error: unresolved reference: BeforeTest
    @BeforeTest
g
Do you have an import for BeforeTest?
t
I import all the test annotations :
Copy code
import kotlin.test.*
My tests work if I remove
@BeforeTest
(and do the setup manually)
This is a multiplatform project and my tests with
@BeforeTest
work on
js
and
jvm
g
I see, probably KN uses older version of common test library, or something like that
👍 1
put probably better to create an issue
👍 1
t
Thanks. Will do
g
Wow, created just 3 hours ago by @Pavel Punegov [JB]
t
After checking the PR, I’m pretty sure this PR solves my issue so no point creating the issue I guess
p
I merged this PR into master, so in a couple of hours there should be a dev build available that could be checked out and used with Gradle plugin
👍 4
107 Views