https://kotlinlang.org logo
#ktor
Title
# ktor
b

benkuly

03/04/2022, 3:09 PM
Are there plans to make shared ktor server stuff multiplatform? I use
testApplication
to test ktor client stuff, because I really don't like the ktor client mock api and with
testApplication
I can re-use type safe routes (
@Resource
). The problem is, that
testApplication
is only available for jvm and native and so I cant't test the client code on other platforms.
2
a

Aleksei Tirman [JB]

03/05/2022, 8:21 AM
@e5l
e

e5l

03/05/2022, 8:21 AM
We're looking forward to make it common in the future
b

benkuly

03/05/2022, 8:42 AM
@e5l Very cool, thank you! What is missing for making it common?
e

e5l

03/05/2022, 9:34 AM
porting some stuff to
js
we have already have
native
and
jvm
implementations, only
js
is missing
b

benkuly

03/05/2022, 9:35 AM
does this also apply to ktor-server-test-host?
e

e5l

03/05/2022, 9:36 AM
yep
Actually the platform part is quite small
b

benkuly

03/05/2022, 9:38 AM
Thank you very much for the information 🙂