TestApplicationBuilder

A builder for TestApplication.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun application(block: Application.() -> Unit)

Adds a module to TestApplication.

Link copied to clipboard

Builds an environment using block.

Link copied to clipboard

Builds mocks for external services using ExternalServicesBuilder.

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

Installs a plugin into TestApplication

Link copied to clipboard
fun routing(configuration: Routing.() -> Unit)

Installs routing into TestApplication

Inheritors

Link copied to clipboard