Does kotest support native targets? There is somet...
# kotest
r
Does kotest support native targets? There is something mentioned in get started but there is no setup show
s
For assertions or test layout or prop tests ?
r
Running tests
s
For assertions yes (except JVM specific stuff like JDBC of course), prop testing same, and framework no. Framework is JS / JVM at the moment but @Jim plans to (possibly?) tackle this.
r
@Jim any timeframe? 😁 I could also try to help out
s
Yes please! Get involved. Really we just need someone to get started and set something up so we can all jump in and contribute.
j
😂 help meh!
My time frame is as soon as I can but probably not getting started before this weekend
s
I'd like to get involved too. I don't know much about native but I'm interested in learning.
Someone did some digging for us a while back, let me get the thread
j
Yeah I’m a bit worried about this: https://kotlinlang.org/docs/gradle.html#set-dependencies-on-test-libraries it doesn’t appear like there’s any explicit kotlin.test native stuff which means it’s probably compiler plugin… which would be fun by I can’t imagine it being a quick thing
s
If you've heard of Spek, that has a compiler plugin for native. It hasn't been touched in a long time though but could be a starting point. https://github.com/spekframework/spek/tree/2.x/spek-kotlin-compiler-plugin-native/src/main/kotlin/org/spekframework/spek2/kotlin
j
TODO: this extension is broken starting from 1.3.7x
this doesn’t bode well though
s
Might be a starting point through with some ideas
👍 1
j
that’s the stuff 👍