TestClientBuilder

class TestClientBuilder<T : HttpClientEngineConfig>(var config: HttpClientConfig<T>.() -> Unit = {}, var test: suspend TestInfo.(client: HttpClient) -> Unit = {}, var after: suspend (client: HttpClient) -> Unit = {}, var repeatCount: Int = 1, var dumpAfterDelay: Long = -1, var concurrency: Int = 1)

Constructors

Link copied to clipboard
fun <T : HttpClientEngineConfig> TestClientBuilder(config: HttpClientConfig<T>.() -> Unit = {}, test: suspend TestInfo.(client: HttpClient) -> Unit = {}, after: suspend (client: HttpClient) -> Unit = {}, repeatCount: Int = 1, dumpAfterDelay: Long = -1, concurrency: Int = 1)

Properties

Link copied to clipboard
var after: suspend (client: HttpClient) -> Unit
Link copied to clipboard
var concurrency: Int = 1
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var repeatCount: Int = 1
Link copied to clipboard
var test: suspend TestInfo.(client: HttpClient) -> Unit

Extensions

Link copied to clipboard
fun TestClientBuilder<*>.after(block: suspend (client: HttpClient) -> Unit)
Link copied to clipboard
Link copied to clipboard
fun TestClientBuilder<*>.test(block: suspend TestInfo.(client: HttpClient) -> Unit)