TestApplicationBuilder

open class TestApplicationBuilder

A builder for TestApplication.

Constructors

Link copied to clipboard
fun TestApplicationBuilder()

Functions

Link copied to clipboard
fun application(block: <ERROR CLASS>.() -> Unit)

Adds a module to TestApplication.

Link copied to clipboard
fun environment(block: <ERROR CLASS>.() -> Unit)

Builds an environment using block.

Link copied to clipboard
fun externalServices(block: ExternalServicesBuilder.() -> Unit)

Builds mocks for external services using ExternalServicesBuilder.

Link copied to clipboard
fun <P, B : Any, F : Any> install(plugin: <ERROR CLASS><P, B, F>, configure: B.() -> Unit = {})

Installs a plugin into TestApplication

Link copied to clipboard
fun routing(configuration: <ERROR CLASS>.() -> Unit)

Installs routing into TestApplication

Inheritors

Link copied to clipboard