Dear Sir
very thx your post https://medium.com/@math21/testing-a-ktor-server-part-i-route-testing-84f8e82454d7 & demo
i have QA
as the code
|
embeddedServer(Netty, port = config.port) { |
i can start a ktor server at normal mode ( src)
i look the test sourceSet
you craete a test demo
if i export " embeddedServer(Netty, port = config.port) {...}" as a class (Yes i want run ktor serve at Andorid or other JVM like)
how let us test this class at Test mode ? or how start embeddedServer at Test ?
THX
Dear Sir
very thx your post https://medium.com/@math21/testing-a-ktor-server-part-i-route-testing-84f8e82454d7 & demo
i have QA
as the code
KtorEasy/src/Application.kt
Line 30 in 06568a6
i can start a ktor server at normal mode ( src)
i look the test sourceSet
you craete a test demo
KtorEasy/test/ApplicationTest.kt
Line 10 in 06568a6
if i export " embeddedServer(Netty, port = config.port) {...}" as a class (Yes i want run ktor serve at Andorid or other JVM like)
how let us test this class at Test mode ? or how start embeddedServer at Test ?
THX