ApplicationTestBuilder
A builder for a test that uses TestApplication.
Constructors
Functions
Link copied to clipboard
Adds a module to TestApplication.
Link copied to clipboard
open override fun createClient(block: <ERROR CLASS><out <ERROR CLASS>>.() -> Unit): <ERROR CLASS>
Content 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
Builds an environment using block.
Link copied to clipboard
Builds mocks for external services using ExternalServicesBuilder.
Link copied to clipboard
Installs routing into TestApplication