ClientLoader

abstract class ClientLoader(timeout: Duration = 1.minutes)

Helper interface to test clients.

Report a problem

Constructors

Link copied to clipboard
constructor(timeout: Duration = 1.minutes)

Functions

Link copied to clipboard
fun clientTests(    rule: EngineSelectionRule = EngineSelectionRule { true },     retries: Int = 1,     timeout: Duration = this.timeout,     block: suspend TestClientBuilder<HttpClientEngineConfig>.() -> Unit): TestResult

Perform test against all clients from dependencies.

Link copied to clipboard

Print coroutines in debug mode.

Link copied to clipboard
fun except(vararg engines: String): EngineSelectionRule

Excludes the specified engines from test execution.

Link copied to clipboard
fun only(vararg engines: String): EngineSelectionRule

Includes the set of engines for the test

Defines that test should be executed only with the specified engine.

Link copied to clipboard