TestApplicationBuilder

Constructors

Link copied to clipboard
constructor()

Functions

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

Adds a module to TestApplication.

Link copied to clipboard

Adds a configuration block for the TestApplicationEngine.

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<*, PipelineCall>, 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: Route.() -> Unit)

Installs routing into TestApplication

Link copied to clipboard

Adds a configuration block for the ServerConfig.