Title
t

tarek

03/06/2018, 10:24 AM
Is
@BeforeTest
not implemented in Kotlin Native ? I get this error :
> Task :native:compileKonanNative-testMacbook
/myproject/common/src/test/kotlin/GameTest.kt:10:6: error: unresolved reference: BeforeTest
    @BeforeTest
g

gildor

03/06/2018, 10:27 AM
Do you have an import for BeforeTest?
t

tarek

03/06/2018, 10:28 AM
I import all the test annotations :
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

gildor

03/06/2018, 10:29 AM
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

tarek

03/06/2018, 10:31 AM
Thanks. Will do
g

gildor

03/06/2018, 10:31 AM
Wow, created just 3 hours ago by @Pavel Punegov [JB]
t

tarek

03/06/2018, 11:33 AM
After checking the PR, I’m pretty sure this PR solves my issue so no point creating the issue I guess
p

Pavel Punegov [JB]

03/06/2018, 11:40 AM
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