TestWithLocalServer

abstract class TestWithLocalServer

Spin up a local server using ktor-server to test real requests against. This can used in integration tests where mocking an HTTP client engine is difficult.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val server: EmbeddedServer<*, *>

Functions

Link copied to clipboard
Link copied to clipboard