Compatibility with Ktor • opensavvy.prepared.compat.ktor
Package-level declarations
Functions
preparedClient
fun Prepared<TestApplication>.preparedClient(): PreparedProvider<HttpClient>
Instantiates a Ktor test client from a test server.
fun Prepared<TestApplication>.preparedClient(configuration: HttpClientConfig<out HttpClientEngineConfig>.(test: TestDsl) -> Unit): PreparedProvider<HttpClient>
Instantiates a Ktor test client from a test server.
preparedServer
fun preparedServer(configuration: TestApplicationBuilder.(test: TestDsl) -> Unit = {}): PreparedProvider<TestApplication>
Instantiates a Ktor test server.