Question: probably it's a real rare use-case, so I...
# ktor
t
Question: probably it's a real rare use-case, so I get it if it's not supported. I'm using a single class for my client-tests. By expanding it a tiny step every time a test needs something more, it is gradually becoming smarter. (this way mocks can become the real deal). My question is: is it possible to connect the MockEngine of the client with a server in a way that it doesn't create the web-server itself?
n
when you run
withTestApplication {}
you get a httpClient reference to use there or not ?
🙈 1
t
Thanks, I was looking for a way more complicated way inside of the client 😉