Package-level declarations

Functions

Link copied to clipboard
fun Prepared<TestApplication>.preparedClient(): PreparedProvider<HttpClient>
fun Prepared<TestApplication>.preparedClient(configuration: HttpClientConfig<out HttpClientEngineConfig>.(test: TestDsl) -> Unit): PreparedProvider<HttpClient>

Instantiates a Ktor test client from a test server.

Link copied to clipboard
fun preparedServer(configuration: TestApplicationBuilder.(test: TestDsl) -> Unit = {}): PreparedProvider<TestApplication>

Instantiates a Ktor test server.