Hey guys! Does anyone here have an example of Ktor...
# server
j
Hey guys! Does anyone here have an example of Ktor integration testing?
b
Don't have an example, but you should be able to just mount your ktor module and test as usual with junit
j
I understand, I did several examples with Junit, but I was wondering if you only have DSL
d
Have you been able figure out your integration test @Júlio Santos??
j
Hi @degreat! I'm looking at some options like withTestApplication
I managed to solve my problem, I will create a example and make it available on github
d
I already have an implementation that works fine for me so far, and yes it's the
withTestApplication
method
j
Cool, I'm also using it, now I'm going to implement TestContainers
I will create an example project I will make available on github for you to contribute, what do you think?
d
yes yes
that will be great
j
Cool, I'll do it, thanks for the help