TestApplication

A configured instance of a test application running locally.

See also

Functions

Link copied to clipboard

Creates a client with a custom configuration. For example, to send JSON data in a test POST/PUT request, you can install the ContentNegotiation plugin:

Link copied to clipboard
fun start()

Starts this TestApplication instance.

Link copied to clipboard
fun stop()

Stops this TestApplication instance.

Properties

Link copied to clipboard
open override val client: HttpClient

Returns a client with the default configuration.